org.exoplatform.ws.rest.ejbconnector21
Interface RestEJBConnector

All Superinterfaces:
javax.ejb.EJBObject, Remote

public interface RestEJBConnector
extends javax.ejb.EJBObject

Work with REST service through EJB. Remote interface.

Version:
$Id: $
Author:
Andrey Parfonov

Method Summary
 SerialResponse service(SerialRequest request)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

service

SerialResponse service(SerialRequest request)
                       throws RemoteException,
                              IOException
Parameters:
request - SerialRequest. This is special wrapper around REST request, which can be transfer via RMI.
Returns:
SerialResponse. This is special wrapper for REST response, which can be transfer via RMI.
Throws:
RemoteException - if remote interface error occurs.
IOException - if i/o error occurs.


Copyright © 2009 eXo Platform SAS. All Rights Reserved.