|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Participant
A Participant is basically a service that needs to be
initialized before it can return objects that correspond to specified
identification keys.
Rep| Method Summary | |
|---|---|
Object |
getObject()
Returns the default object for this participant. |
Object |
getObject(Object key)
Retrieves the object from the participant that corresponds to a particular key. |
boolean |
isFinished()
Checks if the initialization of this participant is finished. |
| Method Detail |
|---|
Object getObject()
an Object instance containing the default
object; or
null if no default object exists
Object getObject(Object key)
key - An Object instance that used as the key to look
up a corresponding object from the participant.
Object instance; or
null if no object could be found that corresponds to
the provided key
boolean isFinished()
true if the initialization is finished; or
false if the initialization is in progress
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||