org.jboss.jms.asf
Class ServerSessionPoolLoader

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.jms.asf.ServerSessionPoolLoader
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ServerSessionPoolLoaderMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class ServerSessionPoolLoader
extends org.jboss.system.ServiceMBeanSupport
implements ServerSessionPoolLoaderMBean

A loader for ServerSessionPools.

Version:
$Revision: 57209 $
Author:
Peter Antman., Jason Dillon, Adrian Brock

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
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
ServerSessionPoolLoader()
           
 
Method Summary
 String getPoolFactoryClass()
          Get the classname of pool factory to use.
 String getPoolName()
          Get the pool name.
 javax.management.ObjectName getXidFactory()
          mbean get-set pair for field xidFactory Get the value of xidFactory
 void setPoolFactoryClass(String classname)
          Set the classname of pool factory to use.
 void setPoolName(String name)
          Set the pool name.
 void setXidFactory(javax.management.ObjectName xidFactory)
          Set the value of xidFactory
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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
 

Constructor Detail

ServerSessionPoolLoader

public ServerSessionPoolLoader()
Method Detail

setPoolName

public void setPoolName(String name)
Description copied from interface: ServerSessionPoolLoaderMBean
Set the pool name.

Specified by:
setPoolName in interface ServerSessionPoolLoaderMBean
Parameters:
name - The pool name.

getPoolName

public String getPoolName()
Description copied from interface: ServerSessionPoolLoaderMBean
Get the pool name.

Specified by:
getPoolName in interface ServerSessionPoolLoaderMBean
Returns:
The pool name.

setPoolFactoryClass

public void setPoolFactoryClass(String classname)
Description copied from interface: ServerSessionPoolLoaderMBean
Set the classname of pool factory to use.

Specified by:
setPoolFactoryClass in interface ServerSessionPoolLoaderMBean
Parameters:
classname - The name of the pool factory class.

getPoolFactoryClass

public String getPoolFactoryClass()
Description copied from interface: ServerSessionPoolLoaderMBean
Get the classname of pool factory to use.

Specified by:
getPoolFactoryClass in interface ServerSessionPoolLoaderMBean
Returns:
The name of the pool factory class.

getXidFactory

public javax.management.ObjectName getXidFactory()
Description copied from interface: ServerSessionPoolLoaderMBean
mbean get-set pair for field xidFactory Get the value of xidFactory

Specified by:
getXidFactory in interface ServerSessionPoolLoaderMBean
Returns:
value of xidFactory

setXidFactory

public void setXidFactory(javax.management.ObjectName xidFactory)
Description copied from interface: ServerSessionPoolLoaderMBean
Set the value of xidFactory

Specified by:
setXidFactory in interface ServerSessionPoolLoaderMBean
Parameters:
xidFactory - Value to assign to xidFactory

startService

protected void startService()
                     throws Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

stopService

protected void stopService()
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.