public class SystemAccessAtomicILFactory
extends net.jini.jeri.AtomicILFactory
ActivationSystem
to use Jini extensible remote invocation (Jini ERI), that is similar
to AtomicILFactory except the remote object must be an
ActivationSystem instance and the returned dispatcher
optionally accepts calls from the local host and optionally enforces a
GroupPolicy on calls to registerGroup and setActivationGroupDesc.| Modifier and Type | Class and Description |
|---|---|
static class |
SystemAccessAtomicILFactory.SystemDispatcher
A subclass of
AtomicInvocationDispatcher for
ActivationSystem instances that optionally enforces a
GroupPolicy on calls to registerGroup and
setActivationGroupDesc. |
| Constructor and Description |
|---|
SystemAccessAtomicILFactory(GroupPolicy policy,
Class proxyOrService) |
SystemAccessAtomicILFactory(GroupPolicy policy,
ClassLoader loader)
Creates an invocation layer factory that creates an invocation
dispatcher with the specified group policy and the specified class
loader.
|
SystemAccessAtomicILFactory(net.jini.core.constraint.MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
Class proxyOrService)
Creates a factory with the specified server constraints, permission
class, group policy, and proxy or service implementation class.
|
SystemAccessAtomicILFactory(net.jini.core.constraint.MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
ClassLoader loader)
Creates a factory with the specified server constraints, permission
class, group policy, and class loader.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.jini.jeri.InvocationDispatcher |
createInvocationDispatcher(Collection methods,
Remote impl,
net.jini.jeri.ServerCapabilities caps)
Returns a
SystemAccessILFactory.SystemDispatcher instance constructed with the
specified methods, the class loader specified during construction,
the remote object, server capabilities, and the server constraints,
permission class, and group policy that this factory was constructed
with and a flag indicating whether the dispatcher should only accept
calls from the local host. |
createInvocationHandler, equals, hashCodegetExtraProxyInterfaces, getPermissionClass, getServerConstraints, toStringpublic SystemAccessAtomicILFactory(GroupPolicy policy, ClassLoader loader)
null) on calls to registerGroup and setActivationGroupDesc.loader - the class loader, or nullpolicy - the group policy, or nullpublic SystemAccessAtomicILFactory(GroupPolicy policy, Class proxyOrService)
public SystemAccessAtomicILFactory(net.jini.core.constraint.MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
ClassLoader loader)
null) on calls to registerGroup and setActivationGroupDesc.serverConstraints - the server constraints, or nullpermClass - the permission class, or nullpolicy - the group policy, or nullloader - the class loader, or nullIllegalArgumentException - if the permission class is abstract, is
not a subclass of Permission, or does not have
a public constructor that has either one String parameter
or one Method parameter and has no declared exceptionspublic SystemAccessAtomicILFactory(net.jini.core.constraint.MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
Class proxyOrService)
null) on calls to registerGroup and setActivationGroupDesc.serverConstraints - the server constraints, or nullpermClass - the permission class, or nullpolicy - the group policy, or nullproxyOrService - the proxy or service implementation class.IllegalArgumentException - if the permission class is abstract, is
not a subclass of Permission, or does not have
a public constructor that has either one String parameter
or one Method parameter and has no declared exceptionsNullPointerException - if proxyOrService class is null.protected net.jini.jeri.InvocationDispatcher createInvocationDispatcher(Collection methods, Remote impl, net.jini.jeri.ServerCapabilities caps) throws ExportException
SystemAccessILFactory.SystemDispatcher instance constructed with the
specified methods, the class loader specified during construction,
the remote object, server capabilities, and the server constraints,
permission class, and group policy that this factory was constructed
with and a flag indicating whether the dispatcher should only accept
calls from the local host.createInvocationDispatcher in class net.jini.jeri.AtomicILFactorySystemAccessAtomicILFactory.SystemDispatcher instance constructed with the
specified methods, remote object, and server capabilities, and the
server constraints, permission class, group policy, local host access
check condition, and class loader that this factory was constructed
withExportExceptionNullPointerExceptionCopyright © 2016–2019. All rights reserved.