Uses of Interface
net.jini.core.constraint.MethodConstraints
Packages that use MethodConstraints
Package
Description
This is a utility for services implementing leases.
Provides implementations of
ServiceRegistrar.These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini(TM) Discovery and Join Specification.
-
Uses of MethodConstraints in com.sun.jini.landlord
Methods in com.sun.jini.landlord that return MethodConstraintsMethods in com.sun.jini.landlord with parameters of type MethodConstraintsModifier and TypeMethodDescriptionConstrainableLandlordLease.setConstraints(MethodConstraints constraints) Constructors in com.sun.jini.landlord with parameters of type MethodConstraintsModifierConstructorDescriptionConstrainableLandlordLease(Uuid cookie, Landlord landlord, Uuid landlordUuid, long expiration, MethodConstraints methodConstraints) Create a newConstrainableLandlordLease. -
Uses of MethodConstraints in com.sun.jini.proxy
Methods in com.sun.jini.proxy that return MethodConstraintsModifier and TypeMethodDescriptionstatic MethodConstraintsConstrainableProxyUtil.translateConstraints(MethodConstraints methodConstraints, Method[] mappings) Creates aMethodConstraintsusing the constraints inmethodConstraints, but with the methods remapped according tomappings, where the first element of each pair of elements is mapped to the second.Methods in com.sun.jini.proxy with parameters of type MethodConstraintsModifier and TypeMethodDescriptionstatic booleanConstrainableProxyUtil.equivalentConstraints(MethodConstraints methodConstraints1, MethodConstraints methodConstraints2, Method[] mappings) Test to see if twoMethodConstraintsinstances are equivalent given a method-to-method mapping.static MethodConstraintsConstrainableProxyUtil.translateConstraints(MethodConstraints methodConstraints, Method[] mappings) Creates aMethodConstraintsusing the constraints inmethodConstraints, but with the methods remapped according tomappings, where the first element of each pair of elements is mapped to the second.static voidConstrainableProxyUtil.verifyConsistentConstraints(MethodConstraints methodConstraints, Object proxy, Method[] mappings) Verify that an object,proxy, is an instance ofRemoteMethodControlitsMethodConstraintsare equivalent to anotherMethodConstraintsinstance,methodConstraintsonce a mapping has been applied. -
Uses of MethodConstraints in com.sun.jini.reggie
Methods in com.sun.jini.reggie that return MethodConstraintsMethods in com.sun.jini.reggie with parameters of type MethodConstraintsModifier and TypeMethodDescriptionConstrainableEventLease.setConstraints(MethodConstraints constraints) -
Uses of MethodConstraints in net.jini.constraint
Classes in net.jini.constraint that implement MethodConstraintsModifier and TypeClassDescriptionfinal classBasic implementation ofMethodConstraints, 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 MethodConstraintsModifier and TypeMethodDescriptionRemoteMethodControl.getConstraints()Returns the client constraints placed on this proxy.Methods in net.jini.core.constraint with parameters of type MethodConstraintsModifier and TypeMethodDescriptionRemoteMethodControl.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 MethodConstraintsMethods in net.jini.discovery with parameters of type MethodConstraintsModifier and TypeMethodDescriptionConstrainableLookupLocator.setConstraints(MethodConstraints constraints) Constructors in net.jini.discovery with parameters of type MethodConstraintsModifierConstructorDescriptionConstrainableLookupLocator(String host, int port, MethodConstraints constraints) Constructs a newConstrainableLookupLocatorinstance 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 newConstrainableLookupLocatorinstance 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.security
Fields in net.jini.security declared as MethodConstraintsModifier and TypeFieldDescriptionprotected final MethodConstraintsBasicProxyPreparer.methodConstraintsMethod constraints to use when verifying if proxies are trusted and for setting their constraints, ifBasicProxyPreparer.methodConstraintsSpecifiedistrue.Methods in net.jini.security that return MethodConstraintsModifier and TypeMethodDescriptionprotected MethodConstraintsBasicProxyPreparer.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 MethodConstraintsModifierConstructorDescriptionBasicProxyPreparer(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.