javax.rad.server
Class InjectObject

java.lang.Object
  extended by javax.rad.server.InjectObject

public class InjectObject
extends Object

The InjectObject is a POJO which holds an object with a specific name. The InjectObject will be used to add any objects to the SessionContext.

See Also:
SessionContext

Constructor Summary
InjectObject(String pName, Object pObject)
          Creates a new instance of InjectObject for a inject object with a specific name.
 
Method Summary
 String getName()
          Gets the name of the inject object.
 Object getObject()
          Gets the inject object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectObject

public InjectObject(String pName,
                    Object pObject)
Creates a new instance of InjectObject for a inject object with a specific name.

Parameters:
pName - the injection name
pObject - the injection object
Method Detail

getName

public String getName()
Gets the name of the inject object.

Returns:
the object "mapping" name

getObject

public Object getObject()
Gets the inject object.

Returns:
the object


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.