public class ConfirmingILFactory
extends net.jini.jeri.BasicILFactory
InvocationLayerFactory
that uses pop-up dialog
windows to confirm calls.Constructor and Description |
---|
ConfirmingILFactory()
Creates a
InvocationLayerFactory that confirms calls, with
no server constraints and no permission class. |
ConfirmingILFactory(net.jini.core.constraint.MethodConstraints serverConstraints,
Class permissionClass)
Creates a
InvocationLayerFactory that confirms calls, and
uses the specified server constraints and permission class. |
Modifier and Type | Method and Description |
---|---|
protected net.jini.jeri.InvocationDispatcher |
createInvocationDispatcher(Collection methods,
Remote impl,
net.jini.jeri.ServerCapabilities capabilities)
Returns a confirming invocation dispatcher for the remote object.
|
protected InvocationHandler |
createInvocationHandler(Class[] interfaces,
Remote impl,
net.jini.jeri.ObjectEndpoint oe)
Returns a confirming invocation handler for the object endpoint and
interfaces.
|
equals, getExtraProxyInterfaces, getPermissionClass, getServerConstraints, hashCode, toString
public ConfirmingILFactory()
InvocationLayerFactory
that confirms calls, with
no server constraints and no permission class.public ConfirmingILFactory(net.jini.core.constraint.MethodConstraints serverConstraints, Class permissionClass)
InvocationLayerFactory
that confirms calls, and
uses the specified server constraints and permission class.protected InvocationHandler createInvocationHandler(Class[] interfaces, Remote impl, net.jini.jeri.ObjectEndpoint oe)
createInvocationHandler
in class net.jini.jeri.BasicILFactory
interfaces
- the interfacesimpl
- the remote objectoe
- the object endpointprotected net.jini.jeri.InvocationDispatcher createInvocationDispatcher(Collection methods, Remote impl, net.jini.jeri.ServerCapabilities capabilities) throws ExportException
createInvocationDispatcher
in class net.jini.jeri.BasicILFactory
methods
- a collection of Method
instances for the
remote methodsimpl
- a remote object that the dispatcher is being created forcapabilities
- the transport capabilities of the serverExportException
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.