|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.resource.connectionmanager.ConnectionFactoryBindingService
Handles the binding of the connection factory into jndi
Field Summary | |
protected String |
bindName
The bind name |
protected Object |
cf
The connection factory |
protected javax.management.ObjectName |
cm
The connection manager |
protected String |
jndiName
The jndi name |
protected boolean |
useJavaContext
Whether to use the java naming context |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.resource.connectionmanager.ConnectionFactoryBindingServiceMBean |
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
ConnectionFactoryBindingService()
|
Method Summary | |
protected void |
bindConnectionFactory()
Bind the connection factory into jndi |
protected void |
createConnectionFactory()
Create the connection factory |
protected void |
determineBindName()
Determine the bind name |
String |
getBindName()
Get the bind name |
javax.management.ObjectName |
getConnectionManager()
Get the connection manager |
String |
getJndiName()
Get the jndi name |
boolean |
isUseJavaContext()
Are we using the java naming context |
void |
setConnectionManager(javax.management.ObjectName cm)
Set the connection manager |
void |
setJndiName(String jndiName)
Set the jndi name |
void |
setUseJavaContext(boolean useJavaContext)
Set whether to use the java naming context |
protected void |
startService()
|
protected void |
stopService()
|
protected void |
unbindConnectionFactory()
Unbind the connection factory into jndi |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
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 |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Field Detail |
protected javax.management.ObjectName cm
protected String jndiName
protected String bindName
protected boolean useJavaContext
protected Object cf
Constructor Detail |
public ConnectionFactoryBindingService()
Method Detail |
protected void startService() throws Exception
Exception
protected void stopService() throws Exception
Exception
public javax.management.ObjectName getConnectionManager()
getConnectionManager
in interface ConnectionFactoryBindingServiceMBean
public void setConnectionManager(javax.management.ObjectName cm)
setConnectionManager
in interface ConnectionFactoryBindingServiceMBean
cm
- the connection managerpublic String getBindName()
getBindName
in interface ConnectionFactoryBindingServiceMBean
public String getJndiName()
getJndiName
in interface ConnectionFactoryBindingServiceMBean
public void setJndiName(String jndiName)
setJndiName
in interface ConnectionFactoryBindingServiceMBean
jndiName
- the jndi namepublic boolean isUseJavaContext()
isUseJavaContext
in interface ConnectionFactoryBindingServiceMBean
public void setUseJavaContext(boolean useJavaContext)
setUseJavaContext
in interface ConnectionFactoryBindingServiceMBean
useJavaContext
- pass true to use the java naming context, false otherwiseprotected void determineBindName() throws Exception
Exception
protected void createConnectionFactory() throws Exception
Exception
protected void bindConnectionFactory() throws Exception
Exception
protected void unbindConnectionFactory() throws Exception
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |