|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.server.InjectObject
public class InjectObject
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
.
SessionContext
Constructor Summary | |
---|---|
InjectObject(java.lang.String pName,
java.lang.Object pObject)
Creates a new instance of InjectObject for a inject object
with a specific name. |
|
InjectObject(java.lang.String pName,
java.lang.Object pObject,
boolean pExternal)
Creates a new instance of InjectObject for a inject object
with a specific name. |
Method Summary | |
---|---|
java.lang.String |
getName()
Gets the name of the inject object. |
java.lang.Object |
getObject()
Gets the inject object. |
boolean |
isExternal()
Gets whether the object should be handled lik an external object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InjectObject(java.lang.String pName, java.lang.Object pObject)
InjectObject
for a inject object
with a specific name. The new object will be an internal object.
pName
- the injection namepObject
- the injection objectpublic InjectObject(java.lang.String pName, java.lang.Object pObject, boolean pExternal)
InjectObject
for a inject object
with a specific name.
pName
- the injection namepObject
- the injection objectpExternal
- whether the object will be handled as external objectMethod Detail |
---|
public java.lang.String getName()
public java.lang.Object getObject()
public boolean isExternal()
true
if object should be handled as an external object, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |