|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jms.lease.BaseLease | +--org.exolab.jms.lease.MessageLease
This is a lease specifically for a MessageHandle. A MessageHandle is a reference to a Message
MessageHandle
, Serialized FormFields inherited from class org.exolab.jms.lease.BaseLease |
duration_, expiryTime_, leasedObject_, listener_ |
Constructor Summary | |
MessageLease()
Default constructor for the Serailizable/Externalizable interface |
|
MessageLease(MessageHandle handle,
long duration,
LeaseEventListenerIfc listener)
Construct an instance of this class with the specified message handle and duration. |
Methods inherited from class org.exolab.jms.lease.BaseLease |
compareTo, getDuration, getExpiryTime, getLeasedObject, getLeasedObjectType, getLeaseEventListener, getRemainingTime, setDuration, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MessageLease()
public MessageLease(MessageHandle handle, long duration, LeaseEventListenerIfc listener)
handle
- leased objectduration
- duration of leaselistener
- listener to be notified of lease events
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |