bea.jolt
Class JoltAdmSession

java.lang.Object
  extended bybea.jolt.Session
      extended bybea.jolt.JoltSession
          extended bybea.jolt.JoltAdmSession
All Implemented Interfaces:
bea.jolt.SessionState

Deprecated. As of Jolt 1.2, user should extend from JoltSession class and call the protected @link bea.jolt.JoltSession.logon() method.

public class JoltAdmSession
extends JoltSession

An administrative Jolt session to Tuxedo. It is intended for administrative tools, such as the Repository Editor. When security is a concern, the administrator may remove this class from general access.

See Also:
JoltSessionAttributes, JoltRemoteService, JoltTransaction

Constructor Summary
JoltAdmSession(JoltSessionAttributes attr, java.lang.String userName, java.lang.String userRole, java.lang.String userPassword, java.lang.String appPassword)
          Deprecated. Instantiate an administrative session for Jolt administrative tools.
 
Method Summary
 boolean flushDefinition(java.lang.String type, java.lang.String name)
          Deprecated. Flush a definition from the local cache.
 
Methods inherited from class bea.jolt.JoltSession
endSession, getRepository, isAlive, onDisconnect, onReply
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoltAdmSession

public JoltAdmSession(JoltSessionAttributes attr,
                      java.lang.String userName,
                      java.lang.String userRole,
                      java.lang.String userPassword,
                      java.lang.String appPassword)
               throws SessionException
Deprecated. 
Instantiate an administrative session for Jolt administrative tools.

Parameters:
attr - the session attributes.
userName - The user name or null.
userRole - The user role or null.
userPassword - The user password or null.
appPassword - The application password or null.
Throws:
SessionException - If one of the session attributes is invalid or authentication fails
Method Detail

flushDefinition

public boolean flushDefinition(java.lang.String type,
                               java.lang.String name)
Deprecated. 
Flush a definition from the local cache.

Parameters:
type - "SVC" for service, "QUEUE" for queue, ...
name - the name of the definition.
Returns:
true if the definition is flushed; false if no such definition is found.