|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Component
com.ail.core.EJBComponent
com.ail.insurance.acceptance.AcceptanceBean
public class AcceptanceBean
| Constructor Summary | |
|---|---|
AcceptanceBean()
|
|
| Method Summary | |
|---|---|
AcceptQuotationArg |
acceptQuotation(AcceptQuotationArg arg)
Service wrapper method for the AcceptQuotation service. |
CollectPremiumArg |
collectPremium(CollectPremiumArg arg)
Service wrapper method for the CollectPremium service. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
Configuration |
getConfiguration()
Default component implementation of the getConfiguration method. |
java.lang.String |
getConfigurationNamespace()
Default component implementation of the getConfigurationNamespace method. |
Core |
getCore()
Fetch the entry point's instance of the core. |
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. |
java.lang.String |
invokeServiceXML(java.lang.String xml)
Expose services of this EJB via XML. |
ProduceDocumentationArg |
produceDocumentation(ProduceDocumentationArg arg)
Service wrapper method for the ProduceDocumentation service. |
PutOnRiskArg |
putOnRisk(PutOnRiskArg arg)
Service wrapper method for the PutOnRisk service. |
void |
resetConfiguration()
Default component implementation of the resetConfiguration method. |
void |
setConfiguration(Configuration config)
Default component implementation of the setConfiguration method. |
void |
setSessionContext(javax.ejb.SessionContext context)
|
| Methods inherited from class com.ail.core.EJBComponent |
|---|
getSecurityPrincipal |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AcceptanceBean()
| Method Detail |
|---|
public void setSessionContext(javax.ejb.SessionContext context)
setSessionContext in interface javax.ejb.SessionBeanpublic javax.ejb.SessionContext getSessionContext()
EJBComponent
getSessionContext in class EJBComponentpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBean
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic java.lang.String invokeServiceXML(java.lang.String xml)
The methods are invoked on the context's local interface if possible (if one exists). If no local interface is found then the remote interface is used instead. Invoking methods via the local/remote interface means that the deployment settings for security and transacts will be honoured.
xml - XML argument to be passed to the service.
public Core getCore()
Component
getCore in class Componentpublic void setConfiguration(Configuration config)
Component
setConfiguration in interface ConfigurationOwnersetConfiguration in class Componentconfig - The configuration to save.public Configuration getConfiguration()
Component
getConfiguration in interface ConfigurationOwnergetConfiguration in class Componentpublic java.lang.String getConfigurationNamespace()
Component
getConfigurationNamespace in interface CoreUsergetConfigurationNamespace in class Componentpublic VersionEffectiveDate getVersionEffectiveDate()
Component
getVersionEffectiveDate in interface CoreUsergetVersionEffectiveDate in class Componentpublic void resetConfiguration()
ComponentNote: If the component's name ends with 'Bean' - as EJB based ones do, the 'Bean' postfix is removed (RedBean -> Red).
resetConfiguration in interface ConfigurationOwnerresetConfiguration in class Componentpublic Version getVersion()
Component
getVersion in class Componentpublic ProduceDocumentationArg produceDocumentation(ProduceDocumentationArg arg)
arg - Argument to pass to the service
BaseServerException - In response to exceptions thrown by the service.public PutOnRiskArg putOnRisk(PutOnRiskArg arg)
arg - Argument to pass to the service
BaseServerException - In response to exceptions thrown by the service.public CollectPremiumArg collectPremium(CollectPremiumArg arg)
arg - Argument to pass to the service
BaseServerException - In response to exceptions thrown by the service.public AcceptQuotationArg acceptQuotation(AcceptQuotationArg arg)
arg - Argument to pass to the service
BaseServerException - In response to exceptions thrown by the service.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||