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
| 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 |
| 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 |
OBJECT_NAME
public static final java.lang.String OBJECT_NAME
ConfigurationManagerService
public ConfigurationManagerService()
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.