org.jboss.narayana.blacktie.jatmibroker.jab
Class JABSession

java.lang.Object
  extended by org.jboss.narayana.blacktie.jatmibroker.jab.JABSession

public class JABSession
extends Object

The JABSession holds a connection to the XATMI server.

See Also:
JABSessionAttributes

Constructor Summary
JABSession(JABSessionAttributes attributes)
          Create a new connection to the server-side using the state defined in the session attributes
 
Method Summary
 void closeSession()
          Close the connection with the server
 boolean isConnected()
          Has the session been closed yet?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JABSession

public JABSession(JABSessionAttributes attributes)
           throws JABException
Create a new connection to the server-side using the state defined in the session attributes

Parameters:
attributes - The attributes to use
Throws:
JABException - In case the connection cannot be established
Method Detail

closeSession

public void closeSession()
                  throws JABException
Close the connection with the server

Throws:
JABException - In case the connection cannot be closed

isConnected

public boolean isConnected()
Has the session been closed yet?

Returns:
True, if the connection is closed


Copyright © 2011. All Rights Reserved.