org.sapia.ubik.rmi.server
Interface StubContainer

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
StubContainerBase

public interface StubContainer
extends java.io.Serializable

Implementations of this interface allow to bind stubs to remote JNDI servers without the latter having to contain the stubs' interfaces in their classpath.

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Method Summary
 StubInvocationHandler getStubInvocationHandler()
          Returns the invocation handler that this instance wraps.
 java.lang.Object toStub(java.lang.ClassLoader loader)
          Returns the stub that this instance contains.
 

Method Detail

toStub

java.lang.Object toStub(java.lang.ClassLoader loader)
                        throws java.rmi.RemoteException
Returns the stub that this instance contains.

Parameters:
a - ClassLoader
Returns:
the stub that this instance contains.
Throws:
java.rmi.RemoteException - if the stub could not be created.

getStubInvocationHandler

StubInvocationHandler getStubInvocationHandler()
Returns the invocation handler that this instance wraps.

Returns:
a StubInvocationHandler.


Copyright © 2010 Sapia OSS. All Rights Reserved.