|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas.service.AbsServiceImpl | +--org.objectweb.jonas.jms.JmsServiceImpl
JMS Service implementation
Field Summary | |
static java.lang.String |
CLASS
|
static java.lang.String |
COLLOCATED
|
static java.lang.String |
MOM
|
static java.lang.String |
QUEUES
|
static java.lang.String |
TOPICS
|
static java.lang.String |
URL
|
Constructor Summary | |
JmsServiceImpl()
|
Method Summary | |
void |
createJmsQueueDestination(java.lang.String jndiName)
MBean method Create a new Jms queue destination |
void |
createJmsTopicDestination(java.lang.String jndiName)
MBean method Create a new Jms topic destination |
void |
doInit(javax.naming.Context ctx)
Init the Service. |
void |
doStart()
Start the Service Initialization of the service is already done. |
void |
doStop()
Stop the JMS Service |
java.util.Set |
getAllJmsQueueConnectionFactoryNames()
MBean method return Set of Queue Connection Factory Names |
java.util.Set |
getAllJmsQueueDestinationNames()
MBean method return Set of Queue Destinations Names |
java.util.Set |
getAllJmsTopicConnectionFactoryNames()
MBean method return Set of Topic Connection Factory Names |
java.util.Set |
getAllJmsTopicDestinationNames()
MBean method return Set of Topic Destination Names |
java.lang.Integer |
getCurrentNumberOfJmsQueueConnectionFactory()
MBean method |
java.lang.Integer |
getCurrentNumberOfJmsQueueDestination()
MBean method |
java.lang.Integer |
getCurrentNumberOfJmsTopicConnectionFactory()
MBean method |
java.lang.Integer |
getCurrentNumberOfJmsTopicDestination()
MBean method |
java.lang.String |
getDefaultQueueConnectionFactoryName()
MBean method |
java.lang.String |
getDefaultTopicConnectionFactoryName()
MBean method |
JmsManager |
getJmsManager()
|
void |
removeJmsDestination(java.lang.String jndiName)
MBean method Remove a Jms destination |
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl |
getName, init, isStarted, setName, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
Field Detail |
public static final java.lang.String COLLOCATED
public static final java.lang.String MOM
public static final java.lang.String TOPICS
public static final java.lang.String QUEUES
public static final java.lang.String URL
public static final java.lang.String CLASS
Constructor Detail |
public JmsServiceImpl()
Method Detail |
public void doInit(javax.naming.Context ctx) throws ServiceException
doInit
in class AbsServiceImpl
public void doStart() throws ServiceException
doStart
in class AbsServiceImpl
public void doStop() throws ServiceException
doStop
in class AbsServiceImpl
public JmsManager getJmsManager()
getJmsManager
in interface JmsService
public java.lang.Integer getCurrentNumberOfJmsTopicConnectionFactory()
getCurrentNumberOfJmsTopicConnectionFactory
in interface JmsServiceImplMBean
public java.lang.Integer getCurrentNumberOfJmsQueueConnectionFactory()
getCurrentNumberOfJmsQueueConnectionFactory
in interface JmsServiceImplMBean
public java.lang.Integer getCurrentNumberOfJmsTopicDestination()
getCurrentNumberOfJmsTopicDestination
in interface JmsServiceImplMBean
public java.lang.Integer getCurrentNumberOfJmsQueueDestination()
getCurrentNumberOfJmsQueueDestination
in interface JmsServiceImplMBean
public void createJmsQueueDestination(java.lang.String jndiName)
createJmsQueueDestination
in interface JmsServiceImplMBean
String
- jndi Name
not yet implement with a remote hostpublic void createJmsTopicDestination(java.lang.String jndiName)
createJmsTopicDestination
in interface JmsServiceImplMBean
String
- jndi Name
not yet implement with a remote hostpublic void removeJmsDestination(java.lang.String jndiName)
removeJmsDestination
in interface JmsServiceImplMBean
String
- jndi namepublic java.util.Set getAllJmsQueueDestinationNames()
getAllJmsQueueDestinationNames
in interface JmsServiceImplMBean
public java.util.Set getAllJmsTopicDestinationNames()
getAllJmsTopicDestinationNames
in interface JmsServiceImplMBean
public java.util.Set getAllJmsQueueConnectionFactoryNames()
getAllJmsQueueConnectionFactoryNames
in interface JmsServiceImplMBean
public java.util.Set getAllJmsTopicConnectionFactoryNames()
getAllJmsTopicConnectionFactoryNames
in interface JmsServiceImplMBean
public java.lang.String getDefaultQueueConnectionFactoryName()
getDefaultQueueConnectionFactoryName
in interface JmsServiceImplMBean
public java.lang.String getDefaultTopicConnectionFactoryName()
getDefaultTopicConnectionFactoryName
in interface JmsServiceImplMBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |