jrun.jms.adapter
Class SonicMQAdapter
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.ServicePartition
|
+--jrun.jms.adapter.JRunJMSAdapter
|
+--jrun.jms.adapter.SonicMQAdapter
- All Implemented Interfaces:
- JMSAdapter, JRunJMSAdapterMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean, SonicMQAdapterMBean
- public class SonicMQAdapter
- extends JRunJMSAdapter
- implements SonicMQAdapterMBean
- 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 jrun.jms.adapter.JRunJMSAdapter |
addService, destoy, getClassPath, getConfigFileName, getConnectionFactory, getDestination, getHomeDir, getStartupCleanup, removeService, setClassPath, setConfigFileName, setHomeDir, setStartupCleanup |
| 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, 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 |
SonicMQAdapter
public SonicMQAdapter()
getHost
public java.lang.String getHost()
- Specified by:
getHost in interface SonicMQAdapterMBean
setHost
public void setHost(java.lang.String host)
- Specified by:
setHost in interface SonicMQAdapterMBean
setPort
public void setPort(java.lang.String port)
- Specified by:
setPort in interface SonicMQAdapterMBean
getPort
public java.lang.String getPort()
- Specified by:
getPort in interface SonicMQAdapterMBean
getProviderVersion
public java.lang.String getProviderVersion()
- Specified by:
getProviderVersion in interface JRunJMSAdapterMBean
getProviderName
public java.lang.String getProviderName()
- Specified by:
getProviderName in interface JRunJMSAdapterMBean- Overrides:
getProviderName in class JRunJMSAdapter
getAutoStart
public boolean getAutoStart()
- Specified by:
getAutoStart in interface SonicMQAdapterMBean
setAutoStart
public void setAutoStart(boolean bAutoStart)
- Specified by:
setAutoStart in interface SonicMQAdapterMBean
getClassLoader
protected java.net.URLClassLoader getClassLoader()
setBrokerStarted
protected void setBrokerStarted()
getBrokerManager
protected progress.message.tools.BrokerManager getBrokerManager()
getConnectionFactoryName
public java.lang.String getConnectionFactoryName(java.lang.String transport,
int type)
throws javax.jms.JMSException
hasXASupport
public boolean hasXASupport()
addDestination
public javax.jms.Destination addDestination(java.lang.String name,
java.lang.String type,
java.lang.String jndiName)
throws javax.jms.JMSException
removeDestination
public void removeDestination(java.lang.String name)
throws javax.jms.JMSException
getAdapterConfiguration
public java.lang.Object getAdapterConfiguration()
loadAdapterConfiguration
public void loadAdapterConfiguration()
getDefaultConfigFileName
public java.lang.String getDefaultConfigFileName()
- Overrides:
getDefaultConfigFileName in class JRunJMSAdapter
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 JRunJMSAdapter
start
public void start()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should start
- Specified by:
start in interface Service- Overrides:
start in class ServiceAdapter
stop
public void stop()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should stop
- Specified by:
stop in interface Service- Overrides:
stop in class ServiceAdapter
bindDestinations
public void bindDestinations()
throws javax.jms.JMSException
bindConnectionFactories
public void bindConnectionFactories()
throws javax.jms.JMSException
logError
protected void logError(java.lang.String err)
logInfo
protected void logInfo(java.lang.String info)
Copyright � 2002 Macromedia Corporation. All Rights Reserved.