jrun.jms.asf
Class ServerSessionPoolService

jrunx.kernel.ServiceAdapter
  |
  +--jrun.jms.asf.ServerSessionPoolService
All Implemented Interfaces:
javax.naming.Referenceable, java.io.Serializable, ServerSessionPoolFactory, ServerSessionPoolServiceMBean, Service, ServiceMBean
Direct Known Subclasses:
JRunServerSessionPoolService

public abstract class ServerSessionPoolService
extends ServiceAdapter
implements ServerSessionPoolFactory

See Also:
Serialized Form

Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrun.jms.asf.ServerSessionPoolServiceMBean
OBJECT_NAME
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
ServerSessionPoolService()
           
 
Method Summary
 int get_maxMessageNumber()
           
 int get_maxPoolSize()
           
 int get_minPoolSize()
           
 java.lang.String get_serverSessionPoolFactoryName()
           
 java.lang.String get_serverSessionPoolImplCN()
           
 void init()
          Not every service needs to init, implement it out of convenience.
 void set_maxMessageNumber(int num)
           
 void set_maxPoolSize(int size)
           
 void set_minPoolSize(int size)
           
 void set_serverSessionPoolFactoryName(java.lang.String name)
           
 void set_serverSessionPoolImplCN(java.lang.String className)
           
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, start, stop, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrun.jms.asf.ServerSessionPoolFactory
getServerSessionPool, getServerSessionPool, getServerSessionPool
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, start, stop, updateStatus
 

Constructor Detail

ServerSessionPoolService

public ServerSessionPoolService()
Method Detail

set_minPoolSize

public void set_minPoolSize(int size)
Specified by:
set_minPoolSize in interface ServerSessionPoolServiceMBean

get_minPoolSize

public int get_minPoolSize()
Specified by:
get_minPoolSize in interface ServerSessionPoolServiceMBean

get_maxPoolSize

public int get_maxPoolSize()
Specified by:
get_maxPoolSize in interface ServerSessionPoolServiceMBean

set_maxPoolSize

public void set_maxPoolSize(int size)
Specified by:
set_maxPoolSize in interface ServerSessionPoolServiceMBean

set_maxMessageNumber

public void set_maxMessageNumber(int num)
Specified by:
set_maxMessageNumber in interface ServerSessionPoolServiceMBean

get_maxMessageNumber

public int get_maxMessageNumber()
Specified by:
get_maxMessageNumber in interface ServerSessionPoolServiceMBean

set_serverSessionPoolFactoryName

public void set_serverSessionPoolFactoryName(java.lang.String name)
Specified by:
set_serverSessionPoolFactoryName in interface ServerSessionPoolServiceMBean

get_serverSessionPoolFactoryName

public java.lang.String get_serverSessionPoolFactoryName()
Specified by:
get_serverSessionPoolFactoryName in interface ServerSessionPoolServiceMBean

set_serverSessionPoolImplCN

public void set_serverSessionPoolImplCN(java.lang.String className)
Specified by:
set_serverSessionPoolImplCN in interface ServerSessionPoolServiceMBean

get_serverSessionPoolImplCN

public java.lang.String get_serverSessionPoolImplCN()
Specified by:
get_serverSessionPoolImplCN in interface ServerSessionPoolServiceMBean

init

public void init()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Not every service needs to init, implement it out of convenience.
Specified by:
init in interface Service
Overrides:
init in class ServiceAdapter


Copyright � 2002 Macromedia Corporation. All Rights Reserved.