public class AccessAtomicILFactory extends AtomicILFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
AccessAtomicILFactory.AccessDispatcher
A subclass of
AtomicInvocationDispatcher that only accepts
calls from the local host. |
InvocationLayerFactory.Instances| Constructor and Description |
|---|
AccessAtomicILFactory(Class proxyOrService)
Creates an
AccessILFactoryinstance with no server
constraints, no permission class, and the specified smart proxy
or service implementation class, used to determined the ClassLoader. |
AccessAtomicILFactory(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
AccessAtomicILFactory.AccessDispatcher instance constructed with the
specified methods, the specified server capabilities, and the class
loader specified at construction. |
createInvocationHandler, equals, hashCodegetExtraProxyInterfaces, getPermissionClass, getServerConstraints, toStringcreateInstances, getClassLoader, getInvocationDispatcherMethods, getProxyInterfaces, getRemoteInterfacespublic AccessAtomicILFactory(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 nullpublic AccessAtomicILFactory(Class proxyOrService)
AccessILFactoryinstance with no server
constraints, no permission class, and the specified smart proxy
or service implementation class, used to determined the ClassLoader.
The specified class loader of proxyOrService is used by the
createInstances method.proxyOrService - class of the smart proxy or service implementation.NullPointerException - if proxyOrService is null.protected InvocationDispatcher createInvocationDispatcher(Collection methods, Remote impl, ServerCapabilities caps) throws ExportException
AccessAtomicILFactory.AccessDispatcher instance constructed with the
specified methods, the specified server capabilities, and the class
loader specified at construction.createInvocationDispatcher in class AtomicILFactoryAccessAtomicILFactory.AccessDispatcher instanceNullPointerExceptionExportExceptionCopyright © 2016–2018. All rights reserved.