com.ideo.sweetdev.core.facade.ejb
Class EjbFacade

java.lang.Object
  extended bycom.ideo.sweetdev.core.facade.ejb.EjbFacade
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class EjbFacade
extends java.lang.Object
implements javax.ejb.SessionBean

XDoclet-based stateless session bean. The class must be declared public, according to the EJB specification.
To generate code:


Please see the included XDoclet Overview and the XDoclet Reference in the help system for details

See Also:
Serialized Form
 
Ejb.bean:
name = "EjbFacade" type = "Stateless" display-name = "EjbFacade" description = "EjbFacade EJB" view-type = "remote" jndi-name = "ejb/EjbFacadeHome"

Constructor Summary
EjbFacade()
           
 
Method Summary
 void ejbActivate()
          The ejbActivate() method as required by the EJB specification.
 void ejbCreate()
          An ejbCreate method as required by the EJB specification.
 void ejbPassivate()
          The ejbPassivate() method as required by the EJB specification.
 void ejbRemove()
          The ejbRemove() method as required by the EJB specification.
 java.lang.Object execute(java.util.Map _params)
          execute
 void setSessionContext(javax.ejb.SessionContext newContext)
          Set the associated session context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbFacade

public EjbFacade()
Method Detail

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException
An ejbCreate method as required by the EJB specification.
The container calls the instance’s ejbCreate method whose signature matches the signature of the create method invoked by the client. The input parameters sent from the client are passed to the ejbCreate method. Each session bean class must have at least one ejbCreate method. The number and signatures of a session bean’s create methods are specific to each session bean class.

Throws:
javax.ejb.CreateException - Thrown if the instance could not perform the function requested by the container because of an system-level error.

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
The ejbActivate() method as required by the EJB specification.
The activate method is called when the instance is activated from its passive" state. The instance should acquire any resource that it has released earlier in the ejbPassivate() method.
This method is called with no transaction context.

Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
The ejbPassivate() method as required by the EJB specification.
The activate method is called when the instance is activated from its "passive" state. The instance should acquire any resource that it has released earlier in the ejbActivate() method.
This method is called with no transaction context.

Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException
The ejbRemove() method as required by the EJB specification.
A container invokes this method before it ends the life of the session object. This happens as a result of a client's invoking a remove operation, or when a container decides to terminate the session object after a timeout.
This method is called with no transaction context.

Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.

setSessionContext

public void setSessionContext(javax.ejb.SessionContext newContext)
                       throws javax.ejb.EJBException
Set the associated session context. The container calls this method after the instance creation.
The enterprise bean instance should store the reference to the context object in an instance variable.
This method is called with no transaction context.

Specified by:
setSessionContext in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.

execute

public java.lang.Object execute(java.util.Map _params)
                         throws javax.ejb.EJBException,
                                TechnicalException,
                                FunctionalException
execute

Throws:
javax.ejb.EJBException - Thrown if the instance could not perform the function requested by the container because of an system-level error.
TechnicalException
FunctionalException