org.exolab.jms.net.rmi
Class RMIInvokerFactoryImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by org.exolab.jms.net.rmi.RMIInvokerFactoryImpl
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, RMIInvokerFactory

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

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
RMIInvokerFactoryImpl(Authenticator authenticator, org.exolab.jms.net.rmi.RMIManagedConnectionAcceptor acceptor, ManagedConnectionAcceptorListener listener)
          Construct a new RMIInvokerFactoryImpl.
 
Method Summary
 RMIInvoker createInvoker(java.security.Principal principal, RMIInvoker client, java.lang.String uri)
          Creates an authenticated invoker.
 
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
 

Constructor Detail

RMIInvokerFactoryImpl

public RMIInvokerFactoryImpl(Authenticator authenticator,
                             org.exolab.jms.net.rmi.RMIManagedConnectionAcceptor acceptor,
                             ManagedConnectionAcceptorListener listener)
Construct a new RMIInvokerFactoryImpl.

Parameters:
authenticator - the connection authenticator
acceptor - the connection acceptor that constructed this
listener - the listsner to delegate new connections to
Method Detail

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 principal
client - the invoker for performing invocations back to the client
uri - the URI representing the client
Returns:
an authenticated invoker
Throws:
java.rmi.RemoteException - for any remote error


Copyright © 1999-2012 The OpenJMS Group. All Rights Reserved.