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
-
Field Summary
-
Constructor Summary
-
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 aJmsInvokerProxy
instance.static ExtendedJmsInvokerServiceExporter<?>
static ExtendedJmsInvokerServiceExporter<?>
createServiceExporter
(String type) Convenience method for creating aExtendedJmsInvokerServiceExporter
instance.
-
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 aJmsInvokerProxy
instance.- Parameters:
factory
- theJmsJmxConnectionFactory
instance.type
- the type ofJmsInvokerProxy
- Returns:
- a
JmsInvokerProxy
instance. - 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 aExtendedJmsInvokerServiceExporter
instance.- Parameters:
type
- the type ofExtendedJmsInvokerServiceExporter
- Returns:
- a
ExtendedJmsInvokerServiceExporter
instance. - 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
-