| java.lang.Object com.sun.jbi.binding.jms.util.UtilBase com.sun.jbi.binding.jms.mq.MQManager
MQManager | public MQManager(String intitialfactory, String providerurl, String principal, String credentials, String level)(Code) | | Creates a new MQManager object.
Parameters: intitialfactory - initial factory. Parameters: providerurl - provider url string. |
closeConnection | public void closeConnection(MQConnection con)(Code) | | Close the connection.
Parameters: con - JMS connection wrapper. |
closeDestination | public void closeDestination(MQDestination dest)(Code) | | Closes the destination.
Parameters: dest - wrapper to destination. |
createConnection | public MQConnection createConnection(String factory, String user, String password, int style)(Code) | | Creates a connection.
Parameters: factory - factory name. Parameters: user - user id. Parameters: password - password. Parameters: style - topic or queue. wrapper connection. |
createQueueConnection | public MQConnection createQueueConnection(String confactory, String user, String password)(Code) | | Creates queue connection.
Parameters: confactory - connection. Parameters: user - user id. Parameters: password - password. wrapper to mq connection. |
createTopicConnection | public MQConnection createTopicConnection(String confactory, String user, String password)(Code) | | Create topic connection.
Parameters: confactory - connection factory. Parameters: user - user id. Parameters: password - password. Mq connection wrapper. |
destinationExists | public boolean destinationExists(Object dest)(Code) | | Checks if destination exists.
Parameters: dest - detsination name. true if destination exists. |
getDestination | public MQDestination getDestination(Object lookupname)(Code) | | Gets destination.
Parameters: lookupname - lookup name. destination wrapper. |
getProviderURL | public String getProviderURL()(Code) | | Gets the provider url.
provider url string. |
getSession | public MQSession getSession(boolean tran, EndpointBean eb)(Code) | | Gets the session.
Parameters: tran - transacted or non-transacted. Parameters: eb - endpoint bean. wrapper to a JMS session. |
getTemporaryQueue | public MQDestination getTemporaryQueue()(Code) | | Get temporary queue.
wrapper to MQ destination. |
getTemporarySession | public MQSession getTemporarySession()(Code) | | Get temporary session.
Wrapper to MQsession. |
init | public boolean init()(Code) | | Initialises the manager.
|
releaseSession | public void releaseSession(MQSession session)(Code) | | Releases the session.
Parameters: session - wrapper to MQ session. |
releaseTemporarySession | public void releaseTemporarySession()(Code) | | Reelases the temporary session.
|
|
|