org.exoplatform.ws.rest.ejbconnector21
Class RestEJBConnectorBean

java.lang.Object
  extended by org.exoplatform.ws.rest.ejbconnector21.RestEJBConnectorBean
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class RestEJBConnectorBean
extends Object
implements javax.ejb.SessionBean

Version:
$Id: $
Author:
Andrey Parfonov
See Also:
Serialized Form

Constructor Summary
RestEJBConnectorBean()
           
 
Method Summary
protected  MultivaluedMetadata createMultivaluedMetadata(HashMap<String,String> map)
          Create MultivaluedMetadata.
 void ejbActivate()
          
 void ejbCreate()
          required by ejb spec.
 void ejbPassivate()
          
 void ejbRemove()
          
protected  org.exoplatform.container.ExoContainer getContainer()
           
 SerialResponse service(SerialRequest request)
           
 void setSessionContext(javax.ejb.SessionContext context)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestEJBConnectorBean

public RestEJBConnectorBean()
Method Detail

service

public final SerialResponse service(SerialRequest request)
                             throws IOException
Throws:
IOException
See Also:
RestEJBConnector#service(SerialRequest)} {@inheritDoc}

ejbPassivate

public void ejbPassivate()

Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbActivate

public void ejbActivate()

Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbRemove

public void ejbRemove()

Specified by:
ejbRemove in interface javax.ejb.SessionBean

setSessionContext

public void setSessionContext(javax.ejb.SessionContext context)

Specified by:
setSessionContext in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()
required by ejb spec.


getContainer

protected org.exoplatform.container.ExoContainer getContainer()
Returns:
the instance of ExoContainer.

createMultivaluedMetadata

protected MultivaluedMetadata createMultivaluedMetadata(HashMap<String,String> map)
Create MultivaluedMetadata.

Parameters:
map - the source map.
Returns:
the MultivaluedMetadata.


Copyright © 2009 eXo Platform SAS. All Rights Reserved.