org.jomc.ri
Class DefaultScope
java.lang.Object
org.jomc.ri.DefaultScope
- All Implemented Interfaces:
- Scope
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-3/jomc-tools")
public class DefaultScope- extends Object
- implements Scope
Default Scope implementation.
- Version:
- $Id: DefaultScope.java 652 2009-10-02 17:49:00Z schulte2005 $
- Author:
- Christian Schulte 1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objects
private Map<String,Object> objects
- Objects of the scope.
DefaultScope
public DefaultScope(Map<String,Object> map)
- Creates a new
DefaultScope instance taking a map backing the scope.
- Parameters:
map - The map backing the scope or null.
DefaultScope
@Generated(value="org.jomc.tools.JavaSources",
comments="See http://jomc.sourceforge.net/jomc/1.0-alpha-3/jomc-tools")
public DefaultScope()
- Creates a new
DefaultScope instance.
getObjects
public Map<String,Object> getObjects()
- Specified by:
getObjects in interface Scope
getObject
public Object getObject(String instance)
- Specified by:
getObject in interface Scope
putObject
public Object putObject(String instance,
Object object)
- Specified by:
putObject in interface Scope
removeObject
public Object removeObject(String instance)
- Specified by:
removeObject in interface Scope
Copyright © 2005-2009 The JOMC Project. All Rights Reserved.