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
AccessILFactory instance 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
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
AccessAtomicILFactory.AccessDispatcher instance constructed with the
specified methods, the specified server capabilities, and the class
loader specified at construction. |
createInvocationHandler, equals, hashCode
getExtraProxyInterfaces, getPermissionClass, getServerConstraints, toString
createInstances, getClassLoader, getInvocationDispatcherMethods, getProxyInterfaces, getRemoteInterfaces
public AccessAtomicILFactory(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
public AccessAtomicILFactory(Class proxyOrService)
AccessILFactory
instance 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 AtomicILFactory
AccessAtomicILFactory.AccessDispatcher
instanceNullPointerException
ExportException
Copyright © 2016–2018. All rights reserved.