com.sun.jini.phoenix
Class AccessILFactory
java.lang.Object
net.jini.jeri.AbstractILFactory
net.jini.jeri.BasicILFactory
com.sun.jini.phoenix.AccessILFactory
- All Implemented Interfaces:
- InvocationLayerFactory
public class AccessILFactory
- extends BasicILFactory
A basic invocation layer factory, used in exporting an
ActivationMonitor
or ActivationInstantiator
to
use Jini extensible remote invocation (Jini ERI), that is similar to
BasicILFactory
except the returned invocation dispatcher only
accepts calls from the local host.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
Constructor Summary |
AccessILFactory()
Creates an AccessILFactory instance with no server
constraints, no permission class, and a null class
loader. |
AccessILFactory(ClassLoader loader)
Creates an AccessILFactory instance with no server
constraints, no permission class, and the specified class loader. |
AccessILFactory
public AccessILFactory()
- Creates an
AccessILFactory
instance with no server
constraints, no permission class, and a null
class
loader.
AccessILFactory
public AccessILFactory(ClassLoader loader)
- Creates an
AccessILFactory
instance with no server
constraints, no permission class, and the specified class loader.
The specified class loader is used by the createInstances
method.
- Parameters:
loader
- the class loader, or null
createInvocationDispatcher
protected InvocationDispatcher createInvocationDispatcher(Collection methods,
Remote impl,
ServerCapabilities caps)
throws ExportException
- Returns an
AccessILFactory.AccessDispatcher
instance constructed with the
specified methods, the specified server capabilities, and the class
loader specified at construction.
- Overrides:
createInvocationDispatcher
in class BasicILFactory
- Parameters:
methods
- a collection of Method
instances for the
remote methodsimpl
- a remote object that the dispatcher is being created forcaps
- the transport capabilities of the server
- Returns:
- the
AccessILFactory.AccessDispatcher
instance
- Throws:
NullPointerException
- if any argument is null
,
or if methods
contains a null
element
ExportException
- if there is a problem creating the
dispatcher
Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.