Package org.jboss.as.naming
Interface ManagedReference
- All Known Implementing Classes:
ImmediateManagedReference,ValueManagedReference,ValueManagedReferenceFactory.ValueManagedReference
public interface ManagedReference
A reference to a container managed object
- Author:
- Stuart Douglas
-
Method Summary
-
Method Details
-
release
void release()Release the reference. Depending on the implementation this may destroy the underlying object. Implementers should take care to make this method idempotent, as it may be called multiple times. -
getInstance
Object getInstance()Get the object instance.- Returns:
- the object this reference refers to
-