public static class AccessAtomicILFactory.AccessDispatcher extends AtomicInvocationDispatcher
AtomicInvocationDispatcher that only accepts
 calls from the local host.| Constructor and Description | 
|---|
| AccessDispatcher(Collection methods,
                ServerCapabilities caps,
                ClassLoader loader)Constructs an invocation dispatcher for the specified methods. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | checkAccess(Remote impl,
           Method method,
           net.jini.core.constraint.InvocationConstraints constraints,
           Collection context)Checks that the client is calling from the local host. | 
createMarshalInputStream, createMarshalOutputStreamcheckClientPermission, checkPermissionClass, dispatch, getClassLoader, invoke, marshalReturn, marshalThrow, unmarshalArguments, unmarshalMethodpublic AccessDispatcher(Collection methods, ServerCapabilities caps, ClassLoader loader) throws ExportException
methods - a collection of Method instances
                for the remote methodscaps - the transport capabilities of the serverloader - the class loader, or nullNullPointerException - if methods is
                null or if methods contains a
                null elememtIllegalArgumentException - if methods
                contains an element that is not a Method
                instanceExportException - doesn't throw ExportException as there are no
 constraints.protected void checkAccess(Remote impl, Method method, net.jini.core.constraint.InvocationConstraints constraints, Collection context)
checkAccess in class BasicInvocationDispatcherAccessControlException - if the client is not
 calling from the local hostCopyright © 2016–2018. All rights reserved.