com.ibm.redback.threadpool
Class RBTPObject

java.lang.Object
  |
  +--com.ibm.redback.threadpool.RBTPObject

public class RBTPObject
extends java.lang.Object


Constructor Summary
RBTPObject(java.lang.String accName, java.lang.String connection, java.lang.String RBOClassName)
          This will create a RedObject that will then be used by the threadpool.
 
Method Summary
 RecordSet callMethod(java.lang.String methodName)
           
 java.lang.String getProperty(java.lang.String propertyName)
           
 java.lang.String getRBOHandle()
           
 java.lang.String getSessionId()
           
 void open()
           
 java.util.Vector refresh(java.lang.String handle)
           
 void setProperty(java.lang.String propertyName, java.lang.String value)
           
 void setRBOHandle(java.lang.String handle)
           
 void setSessionId(java.lang.String sessionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RBTPObject

public RBTPObject(java.lang.String accName,
                  java.lang.String connection,
                  java.lang.String RBOClassName)
This will create a RedObject that will then be used by the threadpool.
Parameters:
accName - - the ThreadPool Account Name, which should have an entry in redback.properties
connection - - the RBO Account name that the RedObject will connect to
RBOClassName - - the RBO to create and access
Method Detail

open

public void open()
          throws java.io.IOException

setProperty

public void setProperty(java.lang.String propertyName,
                        java.lang.String value)

getProperty

public java.lang.String getProperty(java.lang.String propertyName)

getRBOHandle

public java.lang.String getRBOHandle()

setRBOHandle

public void setRBOHandle(java.lang.String handle)

getSessionId

public java.lang.String getSessionId()

setSessionId

public void setSessionId(java.lang.String sessionId)

refresh

public java.util.Vector refresh(java.lang.String handle)
                         throws RbException

callMethod

public RecordSet callMethod(java.lang.String methodName)
                     throws java.io.IOException