jrun.jms.adapter
Class JRunMQAdapter

jrunx.kernel.ServiceAdapter
  |
  +--jrunx.kernel.ServicePartition
        |
        +--jrun.jms.adapter.JRunJMSAdapter
              |
              +--jrun.jms.adapter.JRunMQAdapter
All Implemented Interfaces:
JMSAdapter, JRunJMSAdapterMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean

public class JRunMQAdapter
extends JRunJMSAdapter

See Also:
Serialized Form

Fields inherited from class jrun.jms.adapter.JRunJMSAdapter
bInitialized, ClassPath, ConfigFileName, HomeDir, StartupCleanup
 
Fields inherited from class jrunx.kernel.ServicePartition
sortedServices
 
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.adapter.JMSAdapter
QueueConnectionFactoryType, TopicConnectionFactoryType, XAQueueConnectionFactoryType, XATopicConnectionFactoryType
 
Fields inherited from interface jrun.jms.adapter.JRunJMSAdapterMBean
OBJECT_NAME
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
JRunMQAdapter()
           
 
Method Summary
 javax.jms.Destination addDestination(java.lang.String name, java.lang.String type, java.lang.String jndiName)
           
 java.lang.Object getAdapterConfiguration()
           
 java.lang.String getConnectionFactoryName(java.lang.String transport, int type)
           
 java.lang.String getDefaultConfigFileName()
           
 java.lang.String getProviderName()
           
 java.lang.String getProviderVersion()
           
 boolean hasXASupport()
           
 void init()
          Not every service needs to init, implement it out of convenience.
 void loadAdapterConfiguration()
           
 void removeDestination(java.lang.String name)
           
 void start()
          Every service other than mere data collections should start
 
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.ServicePartition
addService, addService, getServices, invokeChain, iterator, removeService
 
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, stop, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrunx.kernel.ServicePartitionMBean
addService, addService, iterator, removeService
 
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, stop, updateStatus
 

Constructor Detail

JRunMQAdapter

public JRunMQAdapter()
Method Detail

hasXASupport

public boolean hasXASupport()

getProviderVersion

public java.lang.String getProviderVersion()

getProviderName

public java.lang.String getProviderName()
Overrides:
getProviderName in class JRunJMSAdapter

getAdapterConfiguration

public java.lang.Object getAdapterConfiguration()

loadAdapterConfiguration

public void loadAdapterConfiguration()
                              throws javax.jms.JMSException

getDefaultConfigFileName

public java.lang.String getDefaultConfigFileName()
Overrides:
getDefaultConfigFileName in class JRunJMSAdapter

getConnectionFactoryName

public java.lang.String getConnectionFactoryName(java.lang.String transport,
                                                 int type)
                                          throws javax.jms.JMSException

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

init

public void init()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Not every service needs to init, implement it out of convenience.
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
Overrides:
start in class ServiceAdapter


Copyright � 2002 Macromedia Corporation. All Rights Reserved.