|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.StubContainerBase
public class StubContainerBase
Base implementation of the StubContainer interface.
| Constructor Summary | |
|---|---|
protected |
StubContainerBase(java.lang.String[] interfaceNames,
StubInvocationHandler handler)
|
| Method Summary | |
|---|---|
StubInvocationHandler |
getStubInvocationHandler()
Returns the invocation handler that this instance wraps. |
boolean |
isValid()
Returns true if the connection to the remote server of the stub
that this instance wraps is still valid. |
java.lang.String |
toString()
|
java.lang.Object |
toStub(java.lang.ClassLoader loader)
Returns the stub that this instance contains. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected StubContainerBase(java.lang.String[] interfaceNames,
StubInvocationHandler handler)
| Method Detail |
|---|
public boolean isValid()
throws java.rmi.RemoteException
true if the connection to the remote server of the stub
that this instance wraps is still valid.
isValid in interface HealthCheckjava.rmi.RemoteException - if a problem occurs performing the check; if such an
error occurs, this instance should be treated as invalid.
public java.lang.Object toStub(java.lang.ClassLoader loader)
throws java.rmi.RemoteException
StubContainer
toStub in interface StubContainerjava.rmi.RemoteException - if the stub could not be created.StubContainer.toStub(ClassLoader)public StubInvocationHandler getStubInvocationHandler()
StubContainer
getStubInvocationHandler in interface StubContainerStubInvocationHandler.StubContainer.getStubInvocationHandler()public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||