org.ow2.cmi.reference
Interface CMIReferenceable<T>

Type Parameters:
T -
All Superinterfaces:
java.io.Serializable

public interface CMIReferenceable<T>
extends java.io.Serializable

Interface of an object that is managed by a org.ow2.util.pool.Pool. This interface is dynamically added (by the method org.ow2.cmi.pool.StubOrProxyFactory#create(CMIReference)) at a stub or proxy to enable management of stubs and proxies.

Author:
The new CMI team
See Also:
org.ow2.util.pool.Pool, org.ow2.cmi.pool.StubOrProxyFactory#create(CMIReference)

Method Summary
 CMIReference getReference()
           
 T getReferencedObject()
           
 

Method Detail

getReference

CMIReference getReference()
Returns:
a CMIReference

getReferencedObject

T getReferencedObject()
Returns:
the object that is referenced by the CMIReference


Copyright © 2009 OW2 Consortium. All Rights Reserved.