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
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. |
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, toString
createInstances, getClassLoader, getInvocationDispatcherMethods, getProxyInterfaces, getRemoteInterfaces
public AccessILFactory()
AccessILFactory
instance with no server
constraints, no permission class, and a null
class
loader.public AccessILFactory(ClassLoader loader)
AccessILFactory
instance 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 null
protected 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 BasicILFactory
AccessILFactory.AccessDispatcher
instanceNullPointerException
ExportException
Copyright © 2016–2018. All rights reserved.