org.glassfish.api.invocation
Class ComponentInvocation

java.lang.Object
  extended by org.glassfish.api.invocation.ComponentInvocation
All Implemented Interfaces:
Cloneable

@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@Service
public class ComponentInvocation
extends Object
implements Cloneable


Nested Class Summary
static class ComponentInvocation.ComponentInvocationType
           
 
Field Summary
 String componentId
           
 Object container
           
 Object instance
           
 Object jndiEnvironment
           
 Object oldSecurityContext
           
 Object transaction
           
 
Constructor Summary
ComponentInvocation()
           
ComponentInvocation(String componentId, ComponentInvocation.ComponentInvocationType invocationType, Object container)
           
ComponentInvocation(String componentId, ComponentInvocation.ComponentInvocationType invocationType, Object instance, Object container, Object transaction)
           
 
Method Summary
 ComponentInvocation clone()
           
 Boolean getAuth()
           
 String getComponentId()
           
 Object getContainer()
           
 Object getContainerContext()
           
 Object getInstance()
           
 ComponentInvocation.ComponentInvocationType getInvocationType()
           
 Object getOldSecurityContext()
          gets the security context of the call that came in before a new context for runas is made
 ResourceHandler getResourceHandler()
           
 Object getResourceTableKey()
           
 Object getTransaction()
           
 Object getTransactionOperationsManager()
           
 boolean isPreInvokeDone()
           
 boolean isTransactionCompleting()
           
 void setAuth(boolean value)
           
 void setComponentInvocationType(ComponentInvocation.ComponentInvocationType t)
           
 void setOldSecurityContext(Object sc)
          Sets the security context of the call coming in
 void setPreInvokeDone(boolean value)
           
 void setResourceHandler(ResourceHandler h)
           
 void setResourceTableKey(Object key)
           
 void setTransaction(Object t)
           
 void setTransactionCompeting(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public Object instance

container

public Object container

jndiEnvironment

public Object jndiEnvironment

componentId

public String componentId

transaction

public Object transaction

oldSecurityContext

public Object oldSecurityContext
Constructor Detail

ComponentInvocation

public ComponentInvocation()

ComponentInvocation

public ComponentInvocation(String componentId,
                           ComponentInvocation.ComponentInvocationType invocationType,
                           Object container)

ComponentInvocation

public ComponentInvocation(String componentId,
                           ComponentInvocation.ComponentInvocationType invocationType,
                           Object instance,
                           Object container,
                           Object transaction)
Method Detail

getInvocationType

public ComponentInvocation.ComponentInvocationType getInvocationType()

setComponentInvocationType

public void setComponentInvocationType(ComponentInvocation.ComponentInvocationType t)

getInstance

public Object getInstance()

getComponentId

public String getComponentId()

getContainer

public Object getContainer()

getContainerContext

public Object getContainerContext()

getTransaction

public Object getTransaction()

setTransaction

public void setTransaction(Object t)

getTransactionOperationsManager

public Object getTransactionOperationsManager()

setOldSecurityContext

public void setOldSecurityContext(Object sc)
Sets the security context of the call coming in


getOldSecurityContext

public Object getOldSecurityContext()
gets the security context of the call that came in before a new context for runas is made


isTransactionCompleting

public boolean isTransactionCompleting()

setTransactionCompeting

public void setTransactionCompeting(boolean value)

setResourceTableKey

public void setResourceTableKey(Object key)

getResourceTableKey

public Object getResourceTableKey()

setResourceHandler

public void setResourceHandler(ResourceHandler h)

getResourceHandler

public ResourceHandler getResourceHandler()

isPreInvokeDone

public boolean isPreInvokeDone()

setPreInvokeDone

public void setPreInvokeDone(boolean value)

getAuth

public Boolean getAuth()

setAuth

public void setAuth(boolean value)

clone

public ComponentInvocation clone()
Overrides:
clone in class Object


Copyright © 2012 GlassFish Community. All Rights Reserved.