public class AccessILFactory extends BasicILFactory
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.| Modifier and Type | Class and Description |
|---|---|
static class |
AccessILFactory.AccessDispatcher
A subclass of
BasicInvocationDispatcher that only accepts
calls from the local host. |
InvocationLayerFactory.Instances| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
protected InvocationDispatcher |
createInvocationDispatcher(Collection methods,
Remote impl,
ServerCapabilities caps)
Returns an
AccessILFactory.AccessDispatcher instance constructed with the
specified methods, the specified server capabilities, and the class
loader specified at construction. |
createInvocationHandler, equals, getExtraProxyInterfaces, getPermissionClass, getServerConstraints, hashCode, toStringcreateInstances, getClassLoader, getInvocationDispatcherMethods, getProxyInterfaces, getRemoteInterfacespublic AccessILFactory()
AccessILFactoryinstance with no server
constraints, no permission class, and a null class
loader.public AccessILFactory(ClassLoader loader)
AccessILFactoryinstance with no server
constraints, no permission class, and the specified class loader.
The specified class loader is used by the createInstances method.loader - the class loader, or nullprotected InvocationDispatcher createInvocationDispatcher(Collection methods, Remote impl, ServerCapabilities caps) throws ExportException
AccessILFactory.AccessDispatcher instance constructed with the
specified methods, the specified server capabilities, and the class
loader specified at construction.createInvocationDispatcher in class BasicILFactorymethods - a collection of Method instances for the
remote methodsimpl - a remote object that the dispatcher is being created forcaps - the transport capabilities of the serverAccessILFactory.AccessDispatcher instanceNullPointerException - if any argument is null,
or if methods contains a null elementExportException - if there is a problem creating the
dispatcherCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.