org.jomc.ri
Class DefaultScope

Package class diagram package DefaultScope
java.lang.Object
  extended by org.jomc.ri.DefaultScope
All Implemented Interfaces:
Scope

@Generated(value="org.jomc.tools.SourceFileProcessor 1.2.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2")
public class DefaultScope
extends Object
implements Scope

Default Scope implementation.

Identifier:
org.jomc.ri.DefaultScope
Name:
JOMC RI
Abstract:
No
Final:
No
Stateless:
No

Version:
1.0
Author:
Christian Schulte 1.0

Constructor Summary
DefaultScope()
          Creates a new DefaultScope instance.
DefaultScope(Map<String,Object> map)
          Creates a new DefaultScope instance taking a map backing the scope.
 
Method Summary
 Object getObject(String identifier)
           
 Map<String,Object> getObjects()
           
 Object putObject(String identifier, Object object)
           
 Object removeObject(String identifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.SourceFileProcessor 1.2.2",
           comments="See http://jomc.sourceforge.net/jomc/1.2/jomc-tools-1.2.2")
public DefaultScope()
Creates a new DefaultScope instance.

Method Detail

getObjects

public Map<String,Object> getObjects()
Specified by:
getObjects in interface Scope

getObject

public Object getObject(String identifier)
Specified by:
getObject in interface Scope

putObject

public Object putObject(String identifier,
                        Object object)
Specified by:
putObject in interface Scope

removeObject

public Object removeObject(String identifier)
Specified by:
removeObject in interface Scope


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.