jrun.jms.core.config
Class ConfigurationManagerService

jrunx.kernel.ServiceAdapter
  |
  +--jrun.jms.core.util.JMSServiceAdapter
        |
        +--jrun.jms.core.config.ConfigurationManagerService
All Implemented Interfaces:
ConfigurationManager, ConfigurationManagerServiceMBean, JMSService, JMSServiceAdapterMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean

public class ConfigurationManagerService
extends JMSServiceAdapter
implements ConfigurationManager

See Also:
Serialized Form

Field Summary
static java.lang.String OBJECT_NAME
           
 
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 jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
ConfigurationManagerService()
           
 
Method Summary
 java.lang.String getAdminServerName()
           
 int getCacheSize()
           
 JRunJMSMetaData getConfig()
           
 java.lang.String getServerName()
          Gets the current server name
 java.lang.String getServerURL()
           
 int getTransportPort(java.lang.String transport)
           
 void init()
          Not every service needs to init, implement it out of convenience.
static ConfigurationManagerService instance()
           
 void setConfig(java.lang.String config)
           
 
Methods inherited from class jrun.jms.core.util.JMSServiceAdapter
getMetaData, restart, resume, setMetaData, suspend
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, 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 jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
destroy, getStatus, start, stop, updateStatus
 

Field Detail

OBJECT_NAME

public static final java.lang.String OBJECT_NAME
Constructor Detail

ConfigurationManagerService

public ConfigurationManagerService()
Method Detail

instance

public static ConfigurationManagerService instance()

setConfig

public void setConfig(java.lang.String config)
               throws java.lang.Exception
Specified by:
setConfig in interface ConfigurationManagerServiceMBean

getConfig

public JRunJMSMetaData getConfig()
Specified by:
getConfig in interface ConfigurationManager

getCacheSize

public int getCacheSize()
Specified by:
getCacheSize in interface ConfigurationManager

getTransportPort

public int getTransportPort(java.lang.String transport)
Specified by:
getTransportPort in interface ConfigurationManager

getServerName

public java.lang.String getServerName()
Description copied from class: ServiceAdapter
Gets the current server name
Specified by:
getServerName in interface ConfigurationManager
Overrides:
getServerName in class ServiceAdapter

getAdminServerName

public java.lang.String getAdminServerName()
Specified by:
getAdminServerName in interface ConfigurationManager

getServerURL

public java.lang.String getServerURL()
Specified by:
getServerURL in interface ConfigurationManager

init

public void init()
          throws ConfigurationFileException,
                 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.