com.infoengine.messaging
Class MsgService.MOMSharedConnection

java.lang.Object
  extended bycom.infoengine.messaging.MsgService.MOMSharedConnection
Enclosing class:
MsgService

class MsgService.MOMSharedConnection
extends Object

a member in a MOMSharedPool


Field Summary
private  javax.jms.Connection connection
           
private  long lastAccess
           
private  int refCount
           
 
Constructor Summary
MsgService.MOMSharedConnection(javax.jms.Connection connection)
           
 
Method Summary
 int decr()
           
 javax.jms.Connection getConnection()
           
 long getLastAccess()
           
 int getRefCount()
           
 int incr()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connection

private javax.jms.Connection connection

refCount

private int refCount

lastAccess

private long lastAccess
Constructor Detail

MsgService.MOMSharedConnection

public MsgService.MOMSharedConnection(javax.jms.Connection connection)
Method Detail

incr

public int incr()

decr

public int decr()

getRefCount

public int getRefCount()

getLastAccess

public long getLastAccess()

getConnection

public javax.jms.Connection getConnection()