public interface CoordinatingManagedObject<D extends Enum<D>> extends ManagedObject
Provides the ability for the ManagedObject
to obtain references to
the Objects of other ManagedObject
instances.
Optionally implemented by the ManagedObject
provider.
Modifier and Type | Method and Description |
---|---|
void |
loadObjects(ObjectRegistry<D> registry)
Loads the Objects of the
ManagedObject instances to be referenced
by this CoordinatingManagedObject . |
getObject
void loadObjects(ObjectRegistry<D> registry) throws Throwable
Loads the Objects of the ManagedObject
instances to be referenced
by this CoordinatingManagedObject
.
References to the loaded Objects must be released on recycling the
ManagedObject
.
registry
- Registry of the Objects for the ManagedObject
instances.Throwable
- Should this CoordinatingManagedObject
fail to load
the ManagedObject
.Copyright © 2005–2016. All rights reserved.