org.enhydra.barracuda.core.util.data
Interface ReferenceFactory


public interface ReferenceFactory

This interface defines the methods needed to implement a ReferenceFactory. A ReferenceFactory's sole responsibility is to create an object and then return a reference to it. This is useful when you want to create SoftReferences, WeakReferences, etc.


Method Summary
 java.lang.ref.Reference getObjectReference()
          get a reference to an object
 

Method Detail

getObjectReference

public java.lang.ref.Reference getObjectReference()
get a reference to an object

Returns:
a reference to an object


Copyright © 2001 Enhydra.org