org.apache.tuscany.sca.store
Class StoreExpirationEvent

java.lang.Object
  extended by org.apache.tuscany.sca.store.StoreExpirationEvent
All Implemented Interfaces:
Event

public class StoreExpirationEvent
extends java.lang.Object
implements Event

Fired when a store implementation expires a resource


Constructor Summary
StoreExpirationEvent(java.lang.Object source, RuntimeComponent owner, java.lang.Object instance)
          Constructor.
 
Method Summary
 java.lang.Object getInstance()
          Returns the expiring object.
 RuntimeComponent getOwner()
          Returns the owner of the expiring object.
 java.lang.Object getSource()
          Returns the source of the event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreExpirationEvent

public StoreExpirationEvent(java.lang.Object source,
                            RuntimeComponent owner,
                            java.lang.Object instance)
Constructor.

Parameters:
source - the source of the event
owner - the owner of the expiring object
instance - the expiring object
Method Detail

getSource

public java.lang.Object getSource()
Description copied from interface: Event
Returns the source of the event

Specified by:
getSource in interface Event

getOwner

public RuntimeComponent getOwner()
Returns the owner of the expiring object.

Returns:
the owner of the expiring object.

getInstance

public java.lang.Object getInstance()
Returns the expiring object.

Returns:
the expiring object.