|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoolbox.oracle.siebel.session.client.SessionTokenClient
public class SessionTokenClient
Simple class that can be used to obtain and release session tokens.
Method Summary | |
---|---|
static java.util.Map |
getToken(java.lang.String poolName)
Return a token and the pool status from the named pool. |
static void |
main(java.lang.String[] args)
Main method to test the client from a standalone JVM. |
static java.lang.String |
releaseToken(java.lang.String poolName,
java.lang.String leasedToken,
java.lang.String reissuedToken)
Release a token back to the named pool and return a the status of pool. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Map getToken(java.lang.String poolName) throws SessionTokenClientException
poolName
- String containing the pool name.
SessionTokenClientException
- if the token cannot be returned.public static java.lang.String releaseToken(java.lang.String poolName, java.lang.String leasedToken, java.lang.String reissuedToken) throws SessionTokenClientException
poolName
- String containing the pool name.leasedToken
- String containing the token that was peviously
leased to the client calling this class.reissuedToken
- String containing a new value for the previously
leased token. Can be null.
SessionTokenClientException
- if the token cannot be released.public static void main(java.lang.String[] args)
args
- String[] containing the command line arguments. Only takes
a pool name as input.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |