com.ail.insurance.subrogation
Class SubrogationBean

java.lang.Object
  extended by com.ail.core.Component
      extended by com.ail.core.EJBComponent
          extended by com.ail.insurance.subrogation.SubrogationBean
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class SubrogationBean
extends EJBComponent
implements javax.ejb.SessionBean

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

Constructor Summary
SubrogationBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 java.lang.String getConfigurationNamespace()
          Hard code the namespace to "com.ail.insurance.quotation.QuotationBean".
 Core getCore()
          Getter to return the core this component is using.
 javax.ejb.SessionContext getSessionContext()
          Returns the context passed to the EJB's setSessionContext method.
 Version getVersion()
          Return the version details of this component.
 VersionEffectiveDate getVersionEffectiveDate()
          A default component implemention returning the time now.
 MakeARecoveryArg makeARecovery(MakeARecoveryArg arg)
           
 void setSessionContext(javax.ejb.SessionContext context)
           
 
Methods inherited from class com.ail.core.EJBComponent
getSecurityPrincipal
 
Methods inherited from class com.ail.core.Component
getConfiguration, resetConfiguration, setConfiguration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubrogationBean

public SubrogationBean()
Method Detail

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)
Specified by:
setSessionContext in interface javax.ejb.SessionBean

getSessionContext

public javax.ejb.SessionContext getSessionContext()
Description copied from class: EJBComponent
Returns the context passed to the EJB's setSessionContext method.

Specified by:
getSessionContext in class EJBComponent
Returns:
session context.

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

getVersionEffectiveDate

public VersionEffectiveDate getVersionEffectiveDate()
Description copied from class: Component
A default component implemention returning the time now. Components with a critical dependency on selecting the version effective date should override this method.

Specified by:
getVersionEffectiveDate in interface CoreUser
Overrides:
getVersionEffectiveDate in class Component
Returns:
VersionEffectiveDate now.

makeARecovery

public MakeARecoveryArg makeARecovery(MakeARecoveryArg arg)

getCore

public Core getCore()
Getter to return the core this component is using.

Specified by:
getCore in class Component
Returns:
Core instance.

getVersion

public Version getVersion()
Description copied from class: Component
Return the version details of this component.

Specified by:
getVersion in class Component
Returns:
version details

getConfigurationNamespace

public java.lang.String getConfigurationNamespace()
Hard code the namespace to "com.ail.insurance.quotation.QuotationBean". Generally, the super class will automatically provide a namespace based on the class name, but for EJBs this can be a problem. Some app server generated containers effect the name of the class causing the configuration to fail. Weblogic is one such.

Specified by:
getConfigurationNamespace in interface CoreUser
Overrides:
getConfigurationNamespace in class Component
Returns:
The namespace of the configuration.