Package com.adaptris.jmx.remote.jms
Class JmsInvokerFactory
java.lang.Object
com.adaptris.jmx.remote.jms.JmsInvokerFactory
Factory class for creating
JmsInvokerProxy instances.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.adaptris.jmx.remote.jms.JmsInvokerProxy<?>createInvoker(JmsJmxConnectionFactory factory, JmsInvokerFactory.Factory type) static com.adaptris.jmx.remote.jms.JmsInvokerProxy<?>createInvoker(JmsJmxConnectionFactory factory, String type) Convenience method for creating aJmsInvokerProxyinstance.static ExtendedJmsInvokerServiceExporter<?>static ExtendedJmsInvokerServiceExporter<?>createServiceExporter(String type) Convenience method for creating aExtendedJmsInvokerServiceExporterinstance.
-
Field Details
-
TYPE_QUEUE
-
TYPE_TOPIC
-
-
Constructor Details
-
JmsInvokerFactory
public JmsInvokerFactory()
-
-
Method Details
-
createInvoker
public static com.adaptris.jmx.remote.jms.JmsInvokerProxy<?> createInvoker(JmsJmxConnectionFactory factory, String type) throws javax.jms.JMSException Convenience method for creating aJmsInvokerProxyinstance.- Parameters:
factory- theJmsJmxConnectionFactoryinstance.type- the type ofJmsInvokerProxy- Returns:
- a
JmsInvokerProxyinstance. - Throws:
javax.jms.JMSException- if there was a problem with JMS.- See Also:
-
createInvoker
public static com.adaptris.jmx.remote.jms.JmsInvokerProxy<?> createInvoker(JmsJmxConnectionFactory factory, JmsInvokerFactory.Factory type) throws javax.jms.JMSException - Throws:
javax.jms.JMSException
-
createServiceExporter
public static ExtendedJmsInvokerServiceExporter<?> createServiceExporter(String type) throws javax.jms.JMSException Convenience method for creating aExtendedJmsInvokerServiceExporterinstance.- Parameters:
type- the type ofExtendedJmsInvokerServiceExporter- Returns:
- a
ExtendedJmsInvokerServiceExporterinstance. - Throws:
javax.jms.JMSException- if there was a problem with JMS.- See Also:
-
createServiceExporter
public static ExtendedJmsInvokerServiceExporter<?> createServiceExporter(JmsInvokerFactory.Factory type) throws javax.jms.JMSException - Throws:
javax.jms.JMSException
-