|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Container is an interface used to mark the Containers in your system. It is used to functionally identify Containers. It's primary use is to assist Container developers to obtain the desired object from the Context. All communication from the ContainerManager to the Container is through the Context object.
for the contract surrounding the Container context
,
COP In AvalonMethod Summary | |
Object |
get(String key,
Object hint)
This is the method that the ContainerComponentManager and Selector use to gain access to the ComponentHandlers and ComponentSelectors. |
boolean |
has(String key,
Object hint)
This is the method that the ContainerComponentManager and Selector use to gain access to the ComponentHandlers and ComponentSelectors. |
Method Detail |
public Object get(String key, Object hint) throws ServiceException
key
- The role we intend to access a Component for.hint
- The hint that we use as a qualifier
(note: if null, the default implementation is returned).
ServiceException
- if the container cannot get the componentpublic boolean has(String key, Object hint)
key
- The role we intend to access a Component for.hint
- The hint that we use as a qualifier
(note: if null, the default implementation is returned).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |