|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MethodConstraints | |
---|---|
com.sun.jini.landlord | This is a utility for services implementing leases. |
com.sun.jini.outrigger | This is an implementation of a JavaSpaces technology-enabled service. |
com.sun.jini.phoenix | A configurable Java(TM) Remote Method Invocation (Java RMI) activation system daemon implementation. |
com.sun.jini.proxy | |
net.jini.constraint | Provides a basic implementation of
MethodConstraints and a
TrustVerifier for common constraints. |
net.jini.core.constraint | Defines constraints and collections of constraints that can be used to control method invocation, and an interface that proxies implement to allow clients to specify constraints for remote method calls. |
net.jini.discovery | These are utility classes and interfaces that conform to the discovery and join protocol defined in the Jini Discovery and Join Specification. |
net.jini.jeri | Provides the fundamental abstractions and standard implementation classes for Jini extensible remote invocation (Jini ERI). |
net.jini.security | Provides mechanisms and abstractions for managing security, especially in the presence of dynamically downloaded code. |
Uses of MethodConstraints in com.sun.jini.landlord |
---|
Methods in com.sun.jini.landlord that return MethodConstraints | |
---|---|
MethodConstraints |
ConstrainableLandlordLease.getConstraints()
|
Methods in com.sun.jini.landlord with parameters of type MethodConstraints | |
---|---|
RemoteMethodControl |
ConstrainableLandlordLease.setConstraints(MethodConstraints constraints)
|
Constructors in com.sun.jini.landlord with parameters of type MethodConstraints | |
---|---|
ConstrainableLandlordLease(Uuid cookie,
Landlord landlord,
Uuid landlordUuid,
long expiration,
MethodConstraints methodConstraints)
Create a new ConstrainableLandlordLease . |
Uses of MethodConstraints in com.sun.jini.outrigger |
---|
Methods in com.sun.jini.outrigger with parameters of type MethodConstraints | |
---|---|
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize,
MethodConstraints constrains)
Deprecated. Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
Uses of MethodConstraints in com.sun.jini.phoenix |
---|
Constructors in com.sun.jini.phoenix with parameters of type MethodConstraints | |
---|---|
SystemAccessILFactory.SystemDispatcher(Collection methods,
Remote impl,
ServerCapabilities serverCaps,
MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
boolean localAccessCheck,
ClassLoader loader)
Creates an invocation dispatcher to receive incoming remote calls for the specified methods, for a server and transport with the specified capabilities, enforcing the specified constraints, and performing preinvocation access control using the specified permission class and group policy. |
|
SystemAccessILFactory(MethodConstraints serverConstraints)
Creates a factory with a null class loader, the
specified server constraints, the SystemPermission
permission class, and a DefaultGroupPolicy instance. |
|
SystemAccessILFactory(MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
ClassLoader loader)
Creates a factory with the specified server constraints, permission class, group policy, and class loader. |
|
SystemAccessProxyTrustILFactory(MethodConstraints serverConstraints)
Creates a factory with a null class loader, the
specified server constraints, the SystemPermission
permission class, and a DefaultGroupPolicy instance. |
|
SystemAccessProxyTrustILFactory(MethodConstraints serverConstraints,
Class permClass,
GroupPolicy policy,
ClassLoader loader)
Creates a factory with the specified server constraints, permission class, group policy, and class loader. |
Uses of MethodConstraints in com.sun.jini.proxy |
---|
Methods in com.sun.jini.proxy that return MethodConstraints | |
---|---|
static MethodConstraints |
ConstrainableProxyUtil.translateConstraints(MethodConstraints methodConstraints,
Method[] mappings)
Creates a MethodConstraints using the constraints in
methodConstraints , but with the methods remapped according
to mappings , where the first element of each pair of
elements is mapped to the second. |
Methods in com.sun.jini.proxy with parameters of type MethodConstraints | |
---|---|
static boolean |
ConstrainableProxyUtil.equivalentConstraints(MethodConstraints methodConstraints1,
MethodConstraints methodConstraints2,
Method[] mappings)
Test to see if two MethodConstraints instances are
equivalent given a method-to-method mapping. |
static MethodConstraints |
ConstrainableProxyUtil.translateConstraints(MethodConstraints methodConstraints,
Method[] mappings)
Creates a MethodConstraints using the constraints in
methodConstraints , but with the methods remapped according
to mappings , where the first element of each pair of
elements is mapped to the second. |
static void |
ConstrainableProxyUtil.verifyConsistentConstraints(MethodConstraints methodConstraints,
Object proxy,
Method[] mappings)
Verify that an object, proxy , is an instance of
RemoteMethodControl its MethodConstraints are
equivalent to another MethodConstraints instance,
methodConstraints once a mapping has been applied. |
Uses of MethodConstraints in net.jini.constraint |
---|
Classes in net.jini.constraint that implement MethodConstraints | |
---|---|
class |
BasicMethodConstraints
Basic implementation of MethodConstraints , allowing limited
wildcard matching on method names and parameter types. |
Uses of MethodConstraints in net.jini.core.constraint |
---|
Methods in net.jini.core.constraint that return MethodConstraints | |
---|---|
MethodConstraints |
RemoteMethodControl.getConstraints()
Returns the client constraints placed on this proxy. |
Methods in net.jini.core.constraint with parameters of type MethodConstraints | |
---|---|
RemoteMethodControl |
RemoteMethodControl.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the specified constraints. |
Uses of MethodConstraints in net.jini.discovery |
---|
Methods in net.jini.discovery that return MethodConstraints | |
---|---|
MethodConstraints |
ConstrainableLookupLocator.getConstraints()
|
Methods in net.jini.discovery with parameters of type MethodConstraints | |
---|---|
RemoteMethodControl |
ConstrainableLookupLocator.setConstraints(MethodConstraints constraints)
|
Constructors in net.jini.discovery with parameters of type MethodConstraints | |
---|---|
ConstrainableLookupLocator(String host,
int port,
MethodConstraints constraints)
Constructs a new ConstrainableLookupLocator instance which
can be used to perform unicast discovery to the given host and port with
the provided constraints applied. |
|
ConstrainableLookupLocator(String url,
MethodConstraints constraints)
Constructs a new ConstrainableLookupLocator instance which
can be used to perform unicast discovery to the host and port named by
the given URL with the provided constraints applied. |
Uses of MethodConstraints in net.jini.jeri |
---|
Methods in net.jini.jeri that return MethodConstraints | |
---|---|
MethodConstraints |
BasicInvocationHandler.getClientConstraints()
Returns this BasicInvocationHandler 's client
constraints. |
MethodConstraints |
BasicInvocationHandler.getServerConstraints()
Returns this BasicInvocationHandler 's server
constraints. |
MethodConstraints |
BasicILFactory.getServerConstraints()
Returns the server constraints, if any. |
Methods in net.jini.jeri with parameters of type MethodConstraints | |
---|---|
protected InvocationHandler |
BasicInvocationHandler.setClientConstraints(MethodConstraints constraints)
Returns a copy of this invocation handler with the specified constraints as its new client constraints. |
Constructors in net.jini.jeri with parameters of type MethodConstraints | |
---|---|
BasicILFactory(MethodConstraints serverConstraints,
Class permissionClass)
Creates a BasicILFactory with the specified server
constraints, permission class, and a null class
loader. |
|
BasicILFactory(MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates a BasicILFactory with the specified server
constraints, permission class, and class loader. |
|
BasicInvocationDispatcher(Collection methods,
ServerCapabilities serverCapabilities,
MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates an invocation dispatcher to receive incoming remote calls for the specified methods, for a server and transport with the specified capabilities, enforcing the specified constraints, performing preinvocation access control using the specified permission class (if any). |
|
BasicInvocationHandler(BasicInvocationHandler other,
MethodConstraints clientConstraints)
Creates a new BasicInvocationHandler with the
specified client constraints and with the same
ObjectEndpoint and server constraints as the given
other BasicInvocationHandler . |
|
BasicInvocationHandler(ObjectEndpoint oe,
MethodConstraints serverConstraints)
Creates a new BasicInvocationHandler with the
specified ObjectEndpoint and server constraints. |
|
ProxyTrustILFactory(MethodConstraints serverConstraints,
Class permissionClass)
Creates a factory with the specified server constraints, permission class, and a null class loader. |
|
ProxyTrustILFactory(MethodConstraints serverConstraints,
Class permissionClass,
ClassLoader loader)
Creates a factory with the specified server constraints, permission class, and class loader. |
Uses of MethodConstraints in net.jini.security |
---|
Fields in net.jini.security declared as MethodConstraints | |
---|---|
protected MethodConstraints |
BasicProxyPreparer.methodConstraints
Method constraints to use when verifying if proxies are trusted and for setting their constraints, if BasicProxyPreparer.methodConstraintsSpecified is
true . |
Methods in net.jini.security that return MethodConstraints | |
---|---|
protected MethodConstraints |
BasicProxyPreparer.getMethodConstraints(Object proxy)
Returns the method constraints to use when verifying and setting constraints on the specified proxy. |
Constructors in net.jini.security with parameters of type MethodConstraints | |
---|---|
BasicProxyPreparer(boolean verify,
MethodConstraints methodConstraints,
Permission[] permissions)
Creates a proxy preparer that specifies whether proxies should be verified, specifies permissions to grant them, and specifies what method constraints to use when verifying and setting constraints. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |