org.jboss.security.srp
Class SRPServerProxy
java.lang.Object
org.jboss.security.srp.SRPServerProxy
- All Implemented Interfaces:
- Serializable, InvocationHandler
public class SRPServerProxy
- extends Object
- implements InvocationHandler, Serializable
A serializable proxy that is bound into JNDI with a reference to the
RMI implementation of a SRPServerInterface. This allows a client to lookup
the interface and not have the RMI stub for the server as it will be downloaded
to them when the SRPServerProxy is unserialized.
- Version:
- $Revision: 57210 $
- Author:
- Scott.Stark@jboss.org
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- The InvocationHandler invoke method. All calls are simply delegated to
the SRPServerInterface server object.
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.