public interface ObjectsForComponentsStore
ObjectAccessor
s so the real objects
are accessed at the point they are needed and they can be different
objects at different times.ForComponents
static final String NO_ID
<T> T get(Class<T> type, String id)
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 NO_ID
to match by type only) (not null)RuntimeException
- if multiple objects match.void put(ObjectAccessor objectAccessor, String id)
objectAccessor
- the way to access the object (not null)id
- the id for the object or NO_ID
(not null)Copyright © 2009-2012. All Rights Reserved.