Methods Summary |
---|
public java.lang.Object | getContainerContext()Return the Container/ServletContext
return container;
|
public java.lang.Object | getInstance()
return instance;
|
public int | getInvocationType()
if (invocationType == UN_INITIALIZED) {
if (container instanceof Context) {
invocationType = SERVLET_INVOCATION;
return SERVLET_INVOCATION;
} else if (container instanceof Container) {
invocationType = EJB_INVOCATION;
return EJB_INVOCATION;
} else {
invocationType = APP_CLIENT_INVOCATION;
return APP_CLIENT_INVOCATION;
}
}
else
return invocationType;
|
public com.sun.enterprise.security.SecurityContext | getOldSecurityContext()gets the security context of the call that came in
before a new context for runas is made
return oldSecurityContext;
|
public javax.transaction.Transaction | getTransaction()
return transaction;
|
public java.lang.reflect.Method | getWebServiceMethod()
return webServiceMethod;
|
public com.sun.xml.rpc.spi.runtime.Tie | getWebServiceTie()
return webServiceTie;
|
public boolean | isTransactionCompleting()
return transactionCompleting;
|
public void | setOldSecurityContext(com.sun.enterprise.security.SecurityContext sc)Sets the security context of the call coming in
this.oldSecurityContext = sc;
|
public void | setTransaction(javax.transaction.Transaction tran)
this.transaction = tran;
|
public void | setTransactionCompeting(boolean value)
transactionCompleting = value;
|
public void | setWebServiceMethod(java.lang.reflect.Method method)
webServiceMethod = method;
|
public void | setWebServiceTie(com.sun.xml.rpc.spi.runtime.Tie tie)
webServiceTie = tie;
|
public java.lang.String | toString()
String str = instance + "," + container;
if (transaction != null) {
try {
str += "," + transaction.getStatus();
} catch (SystemException ex) {
// IASRI 4660742 ex.printStackTrace();
// START OF IASRI 4660742
_logger.log(Level.SEVERE,"enterprise.system_exception",ex);
// END OF IASRI 4660742
}
} else {
str += ",no transaction";
}
return str;
|