jrun.jms.adapter
Class JRunJMSAdapter
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.ServicePartition
|
+--jrun.jms.adapter.JRunJMSAdapter
- All Implemented Interfaces:
- JMSAdapter, JRunJMSAdapterMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean
- Direct Known Subclasses:
- JRunMQAdapter, SonicMQAdapter
- public abstract class JRunJMSAdapter
- extends ServicePartition
- implements JMSAdapter
- Author:
- Polina Alber
- 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, 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 jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
HomeDir
protected java.lang.String HomeDir
ClassPath
protected java.lang.String ClassPath
ConfigFileName
protected java.lang.String ConfigFileName
StartupCleanup
protected boolean StartupCleanup
bInitialized
protected boolean bInitialized
JRunJMSAdapter
public JRunJMSAdapter()
getProviderName
public java.lang.String getProviderName()
- Specified by:
getProviderName in interface JRunJMSAdapterMBean
setHomeDir
public void setHomeDir(java.lang.String hdir)
- Specified by:
setHomeDir in interface JRunJMSAdapterMBean
getHomeDir
public java.lang.String getHomeDir()
- Specified by:
getHomeDir in interface JRunJMSAdapterMBean
setClassPath
public void setClassPath(java.lang.String clpath)
- Specified by:
setClassPath in interface JRunJMSAdapterMBean
getClassPath
public java.lang.String getClassPath()
- Specified by:
getClassPath in interface JRunJMSAdapterMBean
getConfigFileName
public java.lang.String getConfigFileName()
- Specified by:
getConfigFileName in interface JRunJMSAdapterMBean
setConfigFileName
public void setConfigFileName(java.lang.String cfg)
- Specified by:
setConfigFileName in interface JRunJMSAdapterMBean
getDefaultConfigFileName
public abstract java.lang.String getDefaultConfigFileName()
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
destoy
public void destoy()
throws java.lang.Exception
addService
public void addService(java.lang.Object service,
java.lang.String Name)
throws java.lang.Exception
removeService
public void removeService(javax.management.ObjectName objName)
throws java.lang.Exception
- Description copied from interface:
ServicePartitionMBean
- Remove a ServiceMBean from the partitioned Services by its ObjectName
- Specified by:
removeService in interface ServicePartitionMBean- Overrides:
removeService in class ServicePartition
getDestination
public javax.jms.Destination getDestination(java.lang.String name,
java.lang.String type)
throws javax.jms.JMSException
- Specified by:
getDestination in interface JMSAdapter
getConnectionFactory
public javax.jms.ConnectionFactory getConnectionFactory(java.lang.String type,
java.lang.String transport)
throws javax.jms.JMSException
- Specified by:
getConnectionFactory in interface JMSAdapter
getStartupCleanup
public boolean getStartupCleanup()
- Specified by:
getStartupCleanup in interface JRunJMSAdapterMBean
setStartupCleanup
public void setStartupCleanup(boolean bDoCleanup)
- Specified by:
setStartupCleanup in interface JRunJMSAdapterMBean
Copyright � 2002 Macromedia Corporation. All Rights Reserved.