public class BaseResourceHandler extends java.lang.Object implements ResourceHandler
Constructor and Description |
---|
BaseResourceHandler(BusResourceInfo resInfo,
java.lang.String contextURI) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createURI(java.util.List<java.lang.String> resPath) |
BusMemberService |
getBusMember() |
BusResource |
handleRequest(ResourceContext resCtx,
BusRequest request) |
BusResource |
handleResourceRequest(ResourceContext resCtx,
BusRequest request) |
void |
printContext(ResourceContext resCtx) |
void |
printProps(BusResource res) |
public BaseResourceHandler(BusResourceInfo resInfo, java.lang.String contextURI)
public BusMemberService getBusMember() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public final BusResource handleResourceRequest(ResourceContext resCtx, BusRequest request) throws MXException, java.rmi.RemoteException
handleResourceRequest
in interface ResourceHandler
MXException
java.rmi.RemoteException
public void printContext(ResourceContext resCtx) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void printProps(BusResource res)
public BusResource handleRequest(ResourceContext resCtx, BusRequest request) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String createURI(java.util.List<java.lang.String> resPath) throws MXException, java.rmi.RemoteException
createURI
in interface ResourceHandler
MXException
java.rmi.RemoteException