public class SimpleObjectsForComponentsStore extends Object implements ObjectsForComponentsStore
ObjectsForComponentsStore
.NO_ID
Constructor and Description |
---|
SimpleObjectsForComponentsStore() |
public void put(ObjectAccessor objectAccessor, String id)
ObjectsForComponentsStore
put
in interface ObjectsForComponentsStore
objectAccessor
- the way to access the object (not null)id
- the id for the object or ObjectsForComponentsStore.NO_ID
(not null)public <T> T get(Class<T> type, String id)
ObjectsForComponentsStore
get
in interface ObjectsForComponentsStore
type
- the type of object to look for (will match any object that is an 'instanceof' this type) (not null)id
- the specific of the object to find (not null; use ObjectsForComponentsStore.NO_ID
to match by type only) (not null)Copyright © 2009-2012. All Rights Reserved.