jrun.jms.adapter
Interface JMSAdapter

All Superinterfaces:
JRunJMSAdapterMBean, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean
All Known Implementing Classes:
JRunJMSAdapter

public interface JMSAdapter
extends JRunJMSAdapterMBean


Field Summary
static int QueueConnectionFactoryType
           
static int TopicConnectionFactoryType
           
static int XAQueueConnectionFactoryType
           
static int XATopicConnectionFactoryType
           
 
Fields inherited from interface jrun.jms.adapter.JRunJMSAdapterMBean
OBJECT_NAME
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 javax.jms.Destination addDestination(java.lang.String name, java.lang.String type, java.lang.String jndiName)
           
 java.lang.Object getAdapterConfiguration()
           
 javax.jms.ConnectionFactory getConnectionFactory(java.lang.String type, java.lang.String transport)
           
 java.lang.String getConnectionFactoryName(java.lang.String transport, int type)
           
 javax.jms.Destination getDestination(java.lang.String name, java.lang.String type)
           
 boolean hasXASupport()
           
 void loadAdapterConfiguration()
           
 void removeDestination(java.lang.String name)
           
 
Methods inherited from interface jrun.jms.adapter.JRunJMSAdapterMBean
getClassPath, getConfigFileName, getHomeDir, getProviderName, getProviderVersion, getStartupCleanup, setClassPath, setConfigFileName, setHomeDir, setStartupCleanup
 
Methods inherited from interface jrunx.kernel.ServicePartitionMBean
addService, addService, iterator, removeService, 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, init, start, stop, updateStatus
 

Field Detail

QueueConnectionFactoryType

public static final int QueueConnectionFactoryType

TopicConnectionFactoryType

public static final int TopicConnectionFactoryType

XAQueueConnectionFactoryType

public static final int XAQueueConnectionFactoryType

XATopicConnectionFactoryType

public static final int XATopicConnectionFactoryType
Method Detail

getAdapterConfiguration

public java.lang.Object getAdapterConfiguration()

loadAdapterConfiguration

public void loadAdapterConfiguration()
                              throws javax.jms.JMSException

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

getDestination

public javax.jms.Destination getDestination(java.lang.String name,
                                            java.lang.String type)
                                     throws javax.jms.JMSException

getConnectionFactory

public javax.jms.ConnectionFactory getConnectionFactory(java.lang.String type,
                                                        java.lang.String transport)
                                                 throws javax.jms.JMSException


Copyright � 2002 Macromedia Corporation. All Rights Reserved.