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(TM) 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
|
Constructor Summary |
AccessILFactory()
Creates an AccessILFactoryinstance with no server
constraints, no permission class, and a null class
loader. |
AccessILFactory(ClassLoader loader)
Creates an AccessILFactoryinstance with no server
constraints, no permission class, and the specified class loader.
|
AccessILFactory
public AccessILFactory()
- Creates an
AccessILFactoryinstance with no server
constraints, no permission class, and a null class
loader.
AccessILFactory
public AccessILFactory(ClassLoader loader)
- Creates an
AccessILFactoryinstance 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
- Returns:
- the
AccessILFactory.AccessDispatcher instance
- Throws:
NullPointerException - if any argument is null,
or if methods contains a null element
ExportException
Copyright 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.