|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(value="org.jomc.tools.SourceFileProcessor 1.2", comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2") public interface Scope
Scope a specification applies to.
getObject(Scope[].class)
,
getObject(Scope.class, "implementation name")
,
org.jomc.ObjectManagerFactory
Method Summary | |
---|---|
Object |
getObject(String identifier)
Gets an object from the scope. |
Map<String,Object> |
getObjects()
Gets the objects of the scope. |
Object |
putObject(String identifier,
Object object)
Puts an object into the scope. |
Object |
removeObject(String identifier)
Removes an object from the scope. |
Method Detail |
---|
Map<String,Object> getObjects()
null
.Object getObject(String identifier) throws NullPointerException
identifier
- The identifier of the object to get from the scope.
identifier
or null
, if no such object exists in the scope.
NullPointerException
- if identifier
is null
.Object putObject(String identifier, Object object) throws NullPointerException
identifier
- The identifier of the object to put into the scope.object
- The object to put into the scope.
null
, if there was no object in the scope.
NullPointerException
- if identifier
or object
is null
.Object removeObject(String identifier) throws NullPointerException
identifier
- The identifier of the object to remove from the scope.
null
, if there was no object in the scope.
NullPointerException
- if identifier
is null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2005-2012 The JOMC Project. All Rights Reserved. |