FileDocCategorySizeDatePackage
ComponentContext.javaAPI DocGlassfish v2 API3040Fri May 04 22:32:54 BST 2007com.sun.ejb

ComponentContext

public interface ComponentContext
The ComponentContext contains context information about an EJB instance. EJBContextImpl implements ComponentContext in addition to EJBContext.

Fields Summary
Constructors Summary
Methods Summary
public voidcheckTimerServiceMethodAccess()
The EJB spec makes a distinction between access to the TimerService object itself (via EJBContext.getTimerService) and access to the methods on TimerService, Timer, and TimerHandle. The latter case is covered by this check.

public ContainergetContainer()
Get the Container instance which created this Context.

public java.lang.ObjectgetEJB()
Get the EJB instance associated with this context.

public java.util.ListgetResourceList()
Get the resources associated with this Context.

public javax.transaction.TransactiongetTransaction()
Get the Transaction object associated with this Context.