|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.redback.runtime.RBJob
Field Summary | |
protected java.lang.String |
objName
|
protected RBState |
ourState
|
protected java.util.Vector |
rbNames
|
protected RecordSet |
rs
|
protected java.lang.String |
URL
|
Constructor Summary | |
RBJob()
Constructor for RBJob. |
Method Summary | |
RBState |
callMethod(RBState ourState,
java.lang.String methodName)
|
RBState |
createObj(java.lang.String URL,
java.lang.String objName)
Called when the client wants to create the RBO instance. |
RBState |
getOurState()
Method returns current RBO state. |
java.lang.String |
getProperty(RBState ourState,
java.lang.String name)
This method returns the current value for the property name passed. |
RecordSet |
getRecordSet(RBState ourState)
This method returns the record set from current state. |
java.lang.String |
getSessionId()
Gets the session id set in the current state. |
RBState |
refresh(RBState ourState)
Will refresh the state from the RBO Server |
void |
setOurState(RBState newOurState)
This method sets the current state to the state passed to the method. |
RBState |
setProperty(RBState ourState,
java.lang.String name,
java.lang.String value)
Sets a property with a given value for the passed client state. |
RBState |
setRecordSet(RBState ourState,
RecordSet rs)
This method returns the record set from the current rbo state. |
void |
setSessionId(java.lang.String sessionId)
Sets the current session Id in the state. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String objName
protected java.lang.String URL
protected RBState ourState
protected RecordSet rs
protected java.util.Vector rbNames
Constructor Detail |
public RBJob()
Method Detail |
public RBState callMethod(RBState ourState, java.lang.String methodName) throws RbException
public RBState createObj(java.lang.String URL, java.lang.String objName) throws RbException
objName
- the name of the RBO, module:objectnameURL
- the URL for the RedBack account, either the full URL or RedBack account name if
using JRGWRbException
- thrown if open failspublic RBState getOurState()
public RBState setRecordSet(RBState ourState, RecordSet rs)
ourState
- the current staters
- the current recordSetpublic RecordSet getRecordSet(RBState ourState)
current
- state is passed to the method.public java.lang.String getProperty(RBState ourState, java.lang.String name) throws RbException
ourState
- the current RBO state for this instancename
- the property nameRbException
- thrown if the property name cannot be foundpublic void setSessionId(java.lang.String sessionId)
sessionId
- the current RBO Session ID which can be assigned to the RBO created by this EJB
so that state within the RBO server can be associated with the current sessionpublic java.lang.String getSessionId()
public RBState refresh(RBState ourState) throws RbException
ourSession
- which is the current state for the clientpublic void setOurState(RBState newOurState)
newOurState
- which will replace current RBState for this instancepublic RBState setProperty(RBState ourState, java.lang.String name, java.lang.String value) throws RbException
ourState
- current client statename
- the property namevalue
- the value to setRbException
- thrown if the property name cannot be found
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |