org.exolab.jms.net.rmi
Class RMIInvokerFactoryImpl
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--org.exolab.jms.net.rmi.RMIInvokerFactoryImpl
- All Implemented Interfaces:
- java.rmi.Remote, RMIInvokerFactory, java.io.Serializable
- public class RMIInvokerFactoryImpl
- extends java.rmi.server.RemoteObject
- implements RMIInvokerFactory
A factory for RMIInvoker instances.
- Version:
- $Revision: 1.2 $ $Date: 2005/04/17 14:01:30 $
- Author:
- Tim Anderson
- See Also:
- Serialized Form
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RMIInvokerFactoryImpl
public RMIInvokerFactoryImpl(Authenticator authenticator,
org.exolab.jms.net.rmi.RMIManagedConnectionAcceptor acceptor,
ManagedConnectionAcceptorListener listener)
- Construct a new
RMIInvokerFactoryImpl.
- Parameters:
authenticator - the connection authenticatoracceptor - the connection acceptor that constructed thislistener - the listsner to delegate new connections to
createInvoker
public RMIInvoker createInvoker(java.security.Principal principal,
RMIInvoker client,
java.lang.String uri)
throws java.rmi.RemoteException
- Creates an authenticated invoker.
- Specified by:
createInvoker in interface RMIInvokerFactory
- Parameters:
principal - the security principalclient - the invoker for performing invocations back to the
clienturi - the URI representing the client- Returns:
- an authenticated invoker
- Throws:
java.rmi.RemoteException - for any remote error
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.