@PerLookup @Service public class ComponentInvocation extends Object implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ComponentInvocation.ComponentInvocationType |
Modifier and Type | Field and Description |
---|---|
protected String |
appName |
String |
componentId |
Object |
container
ServletContext for servlet, Container for EJB
|
Object |
instance
The component instance, type Servlet, Filter or EnterpriseBean
|
Object |
jndiEnvironment |
protected String |
moduleName |
Object |
oldSecurityContext
security context coming in a call security context changes on a runas call - on a run as call the old logged in
security context is stored in here.
|
protected String |
registrationName |
Object |
transaction |
Constructor and Description |
---|
ComponentInvocation() |
ComponentInvocation(String componentId,
ComponentInvocation.ComponentInvocationType invocationType,
Object instance,
Object container,
Object transaction) |
ComponentInvocation(String componentId,
ComponentInvocation.ComponentInvocationType invocationType,
Object container,
String appName,
String moduleName,
String registrationName) |
public Object instance
public Object container
public Object jndiEnvironment
public String componentId
public Object transaction
public Object oldSecurityContext
protected String appName
protected String moduleName
protected String registrationName
public ComponentInvocation()
public ComponentInvocation(String componentId, ComponentInvocation.ComponentInvocationType invocationType, Object container, String appName, String moduleName, String registrationName)
public ComponentInvocation(String componentId, ComponentInvocation.ComponentInvocationType invocationType, Object instance, Object container, Object transaction)
public ComponentInvocation.ComponentInvocationType getInvocationType()
public void setInvocationType(ComponentInvocation.ComponentInvocationType invocationType)
public void setComponentInvocationType(ComponentInvocation.ComponentInvocationType t)
public boolean isPreInvokeDone()
public void setPreInvokeDone(boolean value)
public Boolean getAuth()
public void setAuth(Boolean auth)
public void setAuth(boolean value)
public boolean isPreInvokeDoneStatus()
public void setPreInvokeDoneStatus(boolean preInvokeDoneStatus)
public Object getInstance()
public void setInstance(Object instance)
public String getInstanceName()
public void setInstanceName(String instanceName)
public String getComponentId()
public void setComponentId(String componentId)
public Object getJndiEnvironment()
public void setJndiEnvironment(Object jndiEnvironment)
public void setJNDIEnvironment(Object val)
public Object getJNDIEnvironment()
public Object getContainer()
public void setContainer(Object container)
public Object getContainerContext()
public Object getTransaction()
public void setTransaction(Object t)
public void setTransactionCompleting(boolean transactionCompleting)
public String getAppName()
public void setAppName(String appName)
public String getModuleName()
public void setModuleName(String moduleName)
public String getRegistrationName()
public void setRegistrationName(String registrationName)
public void setTransactionOperationsManager(Object transactionOperationsManager)
public Object getTransactionOperationsManager()
public void setOldSecurityContext(Object sc)
public Object getOldSecurityContext()
public boolean isTransactionCompleting()
public void setTransactionCompeting(boolean value)
public void setResourceTableKey(Object key)
public Object getResourceTableKey()
public void setResourceHandler(ResourceHandler h)
public ResourceHandler getResourceHandler()
public Object getRegistryFor(Class key)
key
public void setRegistryFor(Class key, Object payLoad)
registry with given key
for this invocationpublic void clearRegistry()
public ComponentInvocation clone()
Copyright © 2020. All rights reserved.