|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.mq.il.ServerILJMXService
This abstract class handles life cycle managment of the ServeIL. Should be extended to provide a full implementation.
Field Summary | |
protected java.lang.String |
clientID
The client id |
protected java.lang.String |
connectionFactoryJNDIRef
|
protected long |
pingPeriod
|
protected java.lang.String |
xaConnectionFactoryJNDIRef
|
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
ServerILJMXService()
|
Method Summary | |
void |
bindJNDIReferences()
Binds the connection factories for this IL |
java.util.Properties |
getClientConnectionProperties()
|
java.lang.String |
getClientID()
Get the client id for this connection factory |
java.lang.String |
getConnectionFactoryJNDIRef()
|
ObjectName (src) |
getJBossMQService()
Get the value of JBossMQService. |
long |
getPingPeriod()
|
abstract ServerIL (src) |
getServerIL()
|
java.lang.String |
getXAConnectionFactoryJNDIRef()
|
Invoker (src) |
lookupJMSServer()
|
protected void |
rebind(javax.naming.Context ctx,
java.lang.String name,
java.lang.Object val)
|
void |
setClientID(java.lang.String clientID)
Set the client id for this connection factory |
void |
setConnectionFactoryJNDIRef(java.lang.String newConnectionFactoryJNDIRef)
|
void |
setInvoker(ObjectName (src) jbossMQService)
Set the value of JBossMQService. |
void |
setPingPeriod(long period)
|
void |
setXAConnectionFactoryJNDIRef(java.lang.String newXaConnectionFactoryJNDIRef)
|
void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
unbindJNDIReferences()
Unbinds the connection factories for this IL |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String connectionFactoryJNDIRef
protected java.lang.String xaConnectionFactoryJNDIRef
protected long pingPeriod
protected java.lang.String clientID
Constructor Detail |
public ServerILJMXService()
Method Detail |
public ObjectName (src) getJBossMQService()
public void setInvoker(ObjectName (src) jbossMQService)
public void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void stopService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
public void setConnectionFactoryJNDIRef(java.lang.String newConnectionFactoryJNDIRef)
newConnectionFactoryJNDIRef
- the JNDI reference where the
connection factory should be bound topublic void setXAConnectionFactoryJNDIRef(java.lang.String newXaConnectionFactoryJNDIRef)
newXaConnectionFactoryJNDIRef
- java.lang.String the JNDI reference
where the xa connection factory should be bound topublic java.util.Properties getClientConnectionProperties()
public abstract ServerIL (src) getServerIL()
public java.lang.String getConnectionFactoryJNDIRef()
public java.lang.String getXAConnectionFactoryJNDIRef()
public void bindJNDIReferences() throws javax.naming.NamingException
javax.naming.NamingException
- it cannot be unboundprotected void rebind(javax.naming.Context ctx, java.lang.String name, java.lang.Object val) throws javax.naming.NamingException
javax.naming.NamingException
public void unbindJNDIReferences() throws javax.naming.NamingException
javax.naming.NamingException
- it cannot be unboundpublic Invoker (src) lookupJMSServer()
java.lang.Exception
- Description of Exception
javax.naming.NamingException
- if the server is not foundpublic long getPingPeriod()
public void setPingPeriod(long period)
period
- long the period of time in ms to wait between connection
pingspublic java.lang.String getClientID()
public void setClientID(java.lang.String clientID)
clientID
- the client id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |