public class JNDIResourceWrapper extends java.lang.Object implements JNDIRemoteResource
JNDIResourceWrapper
is the CAROL Remote Resource
implementation. This implementation make the serializable resource wrapping
to/from a remote objectConstructor and Description |
---|
JNDIResourceWrapper(java.io.Serializable resource)
constructor, export this object
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getResource()
Get the
Serializable resource |
public JNDIResourceWrapper(java.io.Serializable resource)
resource
- the Serializable
resource to wrappublic java.io.Serializable getResource() throws java.rmi.RemoteException
Serializable
resourcegetResource
in interface JNDIRemoteResource
Serializable
resourcejava.rmi.RemoteException
- if the resource cannot be returned