Interface ObjectRegistry<O extends java.lang.Enum<O>>
- 
- All Known Implementing Classes:
- ManagedObjectUserStandAlone,- ObjectRegistryImpl
 
 public interface ObjectRegistry<O extends java.lang.Enum<O>>Registry providing the dependent Object instances for a CoordinatingManagedObjectinstance.This is provided by the OfficeFloor implementation. - Author:
- Daniel Sagenschneider
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetObject(int index)Obtains the dependencyObjectby its index.java.lang.ObjectgetObject(O key)Obtains the dependencyObjectfor the dependency key.
 
- 
- 
- 
Method Detail- 
getObjectjava.lang.Object getObject(O key) Obtains the dependencyObjectfor the dependency key.- Parameters:
- key- Key identifying the dependency- Object.
- Returns:
- Dependency Objectfor the key.
 
 - 
getObjectjava.lang.Object getObject(int index) Obtains the dependency Objectby its index.This enables a dynamic number of dependencies for the ManagedObject.- Parameters:
- index- Index identifying the dependency- Object.
- Returns:
- Dependency Objectfor the index.
 
 
- 
 
-