org.jboss.jms.asf
Class ServerSessionPoolLoader

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.jms.asf.ServerSessionPoolLoader
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class ServerSessionPoolLoader
extends ServiceMBeanSupport (src)

A loader for ServerSessionPools.

Created: Wed Nov 29 16:14:46 2000


Field Summary
 
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
ServerSessionPoolLoader()
           
 
Method Summary
 java.lang.String getPoolFactoryClass()
          Get the classname of pool factory to use.
 java.lang.String getPoolName()
          Get the pool name.
 ObjectName (src) getXidFactory()
          mbean get-set pair for field xidFactory Get the value of xidFactory
 void setPoolFactoryClass(java.lang.String classname)
          Set the classname of pool factory to use.
 void setPoolName(java.lang.String name)
          Set the pool name.
 void setXidFactory(ObjectName (src)  xidFactory)
          Set the value of xidFactory
protected  void startService()
          Start the service.
protected  void stopService()
          Stop the service.
 
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
 

Constructor Detail

ServerSessionPoolLoader

public ServerSessionPoolLoader()
Method Detail

setPoolName

public void setPoolName(java.lang.String name)
Set the pool name.

Parameters:
name - The pool name.

getPoolName

public java.lang.String getPoolName()
Get the pool name.

Returns:
The pool name.

setPoolFactoryClass

public void setPoolFactoryClass(java.lang.String classname)
Set the classname of pool factory to use.

Parameters:
classname - The name of the pool factory class.

getPoolFactoryClass

public java.lang.String getPoolFactoryClass()
Get the classname of pool factory to use.

Returns:
The name of the pool factory class.

getXidFactory

public ObjectName (src)  getXidFactory()
mbean get-set pair for field xidFactory Get the value of xidFactory

Returns:
value of xidFactory

setXidFactory

public void setXidFactory(ObjectName (src)  xidFactory)
Set the value of xidFactory

Parameters:
xidFactory - Value to assign to xidFactory

startService

protected void startService()
                     throws java.lang.Exception
Start the service.

Bind the pool factory into JNDI.

Overrides:
startService in class ServiceMBeanSupport (src)
Throws:
java.lang.Exception

stopService

protected void stopService()
Stop the service.

Unbind from JNDI.

Overrides:
stopService in class ServiceMBeanSupport (src)