- cacheConnection(Connection, boolean) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
To store a connection in this processor object, call this setter.
- close() - Method in class org.hawkular.bus.common.BinaryData
-
- close() - Method in class org.hawkular.bus.common.ConnectionContext
-
- close() - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
This will close its open connection that it has cached, thus freeing up resources.
- close() - Method in class org.hawkular.bus.common.consumer.ConsumerConnectionContext
-
- close() - Method in class org.hawkular.bus.common.producer.ProducerConnectionContext
-
- ConnectionContext - Class in org.hawkular.bus.common
-
This is a simple POJO that just contains objects related to particular connection.
- ConnectionContext() - Constructor for class org.hawkular.bus.common.ConnectionContext
-
- ConnectionContextFactory - Class in org.hawkular.bus.common
-
- ConnectionContextFactory(ConnectionFactory) - Constructor for class org.hawkular.bus.common.ConnectionContextFactory
-
Initializes with the given factory.
- ConnectionContextFactory(boolean, ConnectionFactory) - Constructor for class org.hawkular.bus.common.ConnectionContextFactory
-
Initializes with the given factory.
- connectionFactory - Variable in class org.hawkular.bus.common.ConnectionContextFactory
-
- ConsumerConnectionContext - Class in org.hawkular.bus.common.consumer
-
- ConsumerConnectionContext() - Constructor for class org.hawkular.bus.common.consumer.ConsumerConnectionContext
-
- convertReceivedMessageClassNameToDesiredMessageClassName(String) - Method in class org.hawkular.bus.common.consumer.AbstractBasicMessageListener
-
This allows subclasses to name a different JSON POJO implementation to use when deserializing
incoming JSON.
- copy(ConnectionContext) - Method in class org.hawkular.bus.common.ConnectionContext
-
Sets this context object with the same data found in the source context.
- createConnection(ConnectionContext) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a connection using this object's connection factory and stores
that connection in the given context object.
- createConsumer(ConsumerConnectionContext, String) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a message consumer using the context's session and destination.
- createConsumerConnectionContext(Endpoint) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a new consumer connection context, reusing any existing connection that might have already been created.
- createConsumerConnectionContext(Endpoint, String) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a new consumer connection context, reusing any existing connection that might have
already been created.
- createDestination(ConnectionContext, Endpoint) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a destination using the context's session.
- createMessage(ConnectionContext, BasicMessage) - Method in class org.hawkular.bus.common.MessageProcessor
-
- createMessage(ConnectionContext, BasicMessage, Map<String, String>) - Method in class org.hawkular.bus.common.MessageProcessor
-
Creates a text message that can be send via a producer that contains the given BasicMessage's JSON encoded data.
- createMessageWithBinaryData(ConnectionContext, BasicMessage, InputStream) - Method in class org.hawkular.bus.common.MessageProcessor
-
- createMessageWithBinaryData(ConnectionContext, BasicMessage, InputStream, Map<String, String>) - Method in class org.hawkular.bus.common.MessageProcessor
-
Creates a blob message that can be send via a producer that contains the given BasicMessage's JSON encoded data
along with binary data.
- createOrReuseConnection(ConnectionContext, boolean) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
This method provides a way to cache and share a connection across
multiple contexts.
- createProducer(ProducerConnectionContext) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a message producer using the context's session and destination.
- createProducerConnectionContext(Endpoint) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a new producer connection context, reusing any existing connection that might have already been created.
- createSession(ConnectionContext) - Method in class org.hawkular.bus.common.ConnectionContextFactory
-
Creates a default session using the context's connection.