org.glassfish.api.invocation
Class ComponentInvocation

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

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


Nested Class Summary
static class ComponentInvocation.ComponentInvocationType
           
 
Field Summary
 java.lang.String componentId
           
 java.lang.Object container
           
 java.lang.Object instance
           
 java.lang.Object jndiEnvironment
           
 java.lang.Object oldSecurityContext
           
 java.lang.Object transaction
           
 
Constructor Summary
ComponentInvocation()
           
ComponentInvocation(java.lang.String componentId, ComponentInvocation.ComponentInvocationType invocationType, java.lang.Object container)
           
ComponentInvocation(java.lang.String componentId, ComponentInvocation.ComponentInvocationType invocationType, java.lang.Object instance, java.lang.Object container, java.lang.Object transaction)
           
 
Method Summary
 ComponentInvocation clone()
           
 java.lang.Boolean getAuth()
           
 java.lang.String getComponentId()
           
 java.lang.Object getContainer()
           
 java.lang.Object getContainerContext()
           
 java.lang.Object getInstance()
           
 ComponentInvocation.ComponentInvocationType getInvocationType()
           
 java.lang.Object getOldSecurityContext()
          gets the security context of the call that came in before a new context for runas is made
 ResourceHandler getResourceHandler()
           
 java.lang.Object getResourceTableKey()
           
 java.lang.Object getTransaction()
           
 java.lang.Object getTransactionOperationsManager()
           
 boolean isPreInvokeDone()
           
 boolean isTransactionCompleting()
           
 void setAuth(boolean value)
           
 void setComponentInvocationType(ComponentInvocation.ComponentInvocationType t)
           
 void setOldSecurityContext(java.lang.Object sc)
          Sets the security context of the call coming in
 void setPreInvokeDone(boolean value)
           
 void setResourceHandler(ResourceHandler h)
           
 void setResourceTableKey(java.lang.Object key)
           
 void setTransaction(java.lang.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 java.lang.Object instance

container

public java.lang.Object container

jndiEnvironment

public java.lang.Object jndiEnvironment

componentId

public java.lang.String componentId

transaction

public java.lang.Object transaction

oldSecurityContext

public java.lang.Object oldSecurityContext
Constructor Detail

ComponentInvocation

public ComponentInvocation()

ComponentInvocation

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

ComponentInvocation

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

getInvocationType

public ComponentInvocation.ComponentInvocationType getInvocationType()

setComponentInvocationType

public void setComponentInvocationType(ComponentInvocation.ComponentInvocationType t)

getInstance

public java.lang.Object getInstance()

getComponentId

public java.lang.String getComponentId()

getContainer

public java.lang.Object getContainer()

getContainerContext

public java.lang.Object getContainerContext()

getTransaction

public java.lang.Object getTransaction()

setTransaction

public void setTransaction(java.lang.Object t)

getTransactionOperationsManager

public java.lang.Object getTransactionOperationsManager()

setOldSecurityContext

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


getOldSecurityContext

public java.lang.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(java.lang.Object key)

getResourceTableKey

public java.lang.Object getResourceTableKey()

setResourceHandler

public void setResourceHandler(ResourceHandler h)

getResourceHandler

public ResourceHandler getResourceHandler()

isPreInvokeDone

public boolean isPreInvokeDone()

setPreInvokeDone

public void setPreInvokeDone(boolean value)

getAuth

public java.lang.Boolean getAuth()

setAuth

public void setAuth(boolean value)

clone

public ComponentInvocation clone()
Overrides:
clone in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.