com.ail.core
Class EJBComponent

java.lang.Object
  extended by com.ail.core.Component
      extended by com.ail.core.EJBComponent
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable
Direct Known Subclasses:
AcceptanceBean, CommandServerBean, PersistenceServerBean, ProductManagerBean, QuotationBean, ServerBean, SubrogationBean

public abstract class EJBComponent
extends Component

This class is use as a superclass by all EJB components.

Version:
$Revision: 1.6 $
See Also:
Serialized Form

Constructor Summary
EJBComponent()
           
 
Method Summary
 java.security.Principal getSecurityPrincipal()
          Return the security principal associated with this EJB.
abstract  javax.ejb.EJBContext getSessionContext()
          Returns the context passed to the EJB's setSessionContext method.
 
Methods inherited from class com.ail.core.Component
getConfiguration, getConfigurationNamespace, getCore, getVersion, getVersionEffectiveDate, resetConfiguration, setConfiguration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBComponent

public EJBComponent()
Method Detail

getSessionContext

public abstract javax.ejb.EJBContext getSessionContext()
Returns the context passed to the EJB's setSessionContext method.

Returns:
session context.

getSecurityPrincipal

public java.security.Principal getSecurityPrincipal()
Return the security principal associated with this EJB. This will be the same principal passed to the bean in the SessionContext.

Returns:
The callers security principal