Package | Description |
---|---|
net.jini.activation |
Extensions to the Java(TM) Remote Method Invocation (Java RMI) activation
framework to support activatable objects that are exported using an
Exporter to go inactive, to provide invocation
handlers for exporters that want to use dynamic proxies for
activatable remote objects, and to support trust verification of
secure activatable dynamic proxies and secure activation identifiers. |
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.
|
net.jini.security.proxytrust |
Defines a trust verifier to support verification of proxies that use
dynamically downloaded code, implementation mechanisms to support the
verification of such proxies, and an exporter for remote objects that have
such proxies.
|
org.apache.river.example.browser |
A visualization tool for exploring Jini Network Technology
communities (djinns) with support for ServiceUI.
|
org.apache.river.fiddler |
Provides the server side of an implementation of the lookup discovery service
(see
). |
org.apache.river.landlord |
This is a utility for services implementing leases.
|
org.apache.river.mahalo |
Provides implementations of the
TransactionManager service.
|
org.apache.river.mercury |
Provides implementations of the
EventMailbox service.
|
org.apache.river.norm |
Provides implementations of
LeaseRenewalService . |
org.apache.river.outrigger |
This is an implementation of a JavaSpaces technology-enabled service.
|
org.apache.river.phoenix |
A configurable Java(TM) Remote Method Invocation (Java RMI) activation
system daemon implementation.
|
org.apache.river.proxy | |
org.apache.river.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
ActivatableInvocationHandler.clientConstraints
The client constraints or
null . |
Constructor and Description |
---|
ActivatableInvocationHandler(ActivationID id,
Remote underlyingProxy,
MethodConstraints clientConstraints)
Creates an instance with the specified activation identifier, optional
underlying proxy, and client constraints.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicMethodConstraints
Basic implementation of
MethodConstraints , allowing limited
wildcard matching on method names and parameter types. |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
RemoteMethodControl.getConstraints()
Returns the client constraints placed on this proxy.
|
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
RemoteMethodControl.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
ConstrainableLookupLocator.constraints
The client-side method constraints for unicast discovery.
|
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableLookupLocator.getConstraints() |
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
ConstrainableLookupLocator.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
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. |
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
BasicInvocationHandler.clientConstraints
The client constraints, or
null . |
private MethodConstraints |
BasicInvocationHandler.serverConstraints
The server constraints, or
null . |
private MethodConstraints |
BasicInvocationDispatcher.serverConstraints
The server constraints.
|
private MethodConstraints |
BasicILFactory.serverConstraints
The server constraints, or null;
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
protected InvocationHandler |
BasicInvocationHandler.setClientConstraints(MethodConstraints constraints)
Returns a copy of this invocation handler with the specified
constraints as its new client constraints.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected MethodConstraints |
BasicProxyPreparer.methodConstraints
Method constraints to use when verifying if proxies are trusted and for
setting their constraints, if
BasicProxyPreparer.methodConstraintsSpecified is
true . |
Modifier and Type | Method and Description |
---|---|
protected MethodConstraints |
BasicProxyPreparer.getMethodConstraints(Object proxy)
Returns the method constraints to use when verifying and setting
constraints on the specified proxy.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
private static TrustVerifier |
ProxyTrustVerifier.getAltVerifier(Object obj,
TrustVerifier.Context ctx,
MethodConstraints mc)
Takes a bootstrap proxy that doesn't have an iterator method
and whose invocation handler doesn't have an iterator method.
|
private static TrustVerifier |
ProxyTrustVerifier.getVerifier(Object obj,
TrustVerifier.Context ctx,
MethodConstraints mc,
UntrustedObjectSecurityContext uosc)
Recursively tries to obtain a verifier from the remote server.
|
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
Browser.locatorConstraints |
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
FiddlerRegistration.ConstrainableFiddlerRegistration.methodConstraints
Client constraints placed on this proxy (may be
null ). |
private MethodConstraints |
FiddlerProxy.ConstrainableFiddlerProxy.methodConstraints
Client constraints placed on this proxy (may be
null ). |
private MethodConstraints |
FiddlerLeaseMap.ConstrainableFiddlerLeaseMap.methodConstraints
Client constraints placed on this proxy (may be
null ). |
private MethodConstraints |
FiddlerLease.ConstrainableFiddlerLease.methodConstraints
Client constraints placed on this proxy (may be
null ). |
private MethodConstraints |
FiddlerAdminProxy.ConstrainableFiddlerAdminProxy.methodConstraints
Client constraints placed on this proxy (may be
null ). |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
FiddlerRegistration.ConstrainableFiddlerRegistration.getConstraints()
Returns the client constraints placed on the current instance of
this proxy class (
ConstrainableFiddlerRegistration ). |
MethodConstraints |
FiddlerProxy.ConstrainableFiddlerProxy.getConstraints()
Returns the client constraints placed on the current instance
of this proxy class (
ConstrainableFiddlerProxy ). |
MethodConstraints |
FiddlerLease.ConstrainableFiddlerLease.getConstraints()
Returns the client constraints placed on the current instance
of this proxy class (
ConstrainableFiddlerLease ). |
MethodConstraints |
FiddlerAdminProxy.ConstrainableFiddlerAdminProxy.getConstraints()
Returns the client constraints placed on the current instance
of this proxy class (
ConstrainableFiddlerAdminProxy ). |
Modifier and Type | Method and Description |
---|---|
private static Fiddler |
FiddlerRegistration.ConstrainableFiddlerRegistration.constrainServer(Fiddler server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
private static Fiddler |
FiddlerProxy.ConstrainableFiddlerProxy.constrainServer(Fiddler server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
private static Fiddler |
FiddlerLeaseMap.ConstrainableFiddlerLeaseMap.constrainServer(Fiddler server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
private static Fiddler |
FiddlerLease.ConstrainableFiddlerLease.constrainServer(Fiddler server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
private static Fiddler |
FiddlerAdminProxy.ConstrainableFiddlerAdminProxy.constrainServer(Fiddler server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
RemoteMethodControl |
FiddlerRegistration.ConstrainableFiddlerRegistration.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableFiddlerRegistration ) with its client
constraints set to the specified constraints. |
RemoteMethodControl |
FiddlerProxy.ConstrainableFiddlerProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableFiddlerProxy ) with its client
constraints set to the specified constraints. |
RemoteMethodControl |
FiddlerLease.ConstrainableFiddlerLease.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableFiddlerLease ) with its client
constraints set to the specified constraints. |
RemoteMethodControl |
FiddlerAdminProxy.ConstrainableFiddlerAdminProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableFiddlerAdminProxy ) with its client
constraints set to the specified constraints. |
Constructor and Description |
---|
ConstrainableFiddlerAdminProxy(Fiddler server,
Uuid proxyID,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableFiddlerAdminProxy
instance. |
ConstrainableFiddlerLease(Fiddler server,
Uuid serverID,
Uuid registrationID,
Uuid leaseID,
long expiration,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableFiddlerLease instance. |
ConstrainableFiddlerLeaseMap(Fiddler server,
FiddlerLease lease,
long duration,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableFiddlerLeaseMap
instance. |
ConstrainableFiddlerProxy(Fiddler server,
Uuid proxyID,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableFiddlerProxy instance. |
ConstrainableFiddlerRegistration(Fiddler server,
Uuid registrationID,
EventRegistration eventReg,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableFiddlerRegistration
instance. |
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
ConstrainableLandlordLease.methodConstraints
Client constraints placed on this proxy (may be
null ) |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableLandlordLease.getConstraints() |
Modifier and Type | Method and Description |
---|---|
private static Landlord |
ConstrainableLandlordLease.constrainServer(Landlord server,
MethodConstraints constraints,
Method[] mapping)
Returns a copy of the given
Landlord proxy having the
client method constraints that result after a specified mapping
is applied to the given method constraints. |
RemoteMethodControl |
ConstrainableLandlordLease.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
ConstrainableLandlordLease(Uuid cookie,
Landlord landlord,
Uuid landlordUuid,
long expiration,
MethodConstraints methodConstraints)
Create a new
ConstrainableLandlordLease . |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
TxnMgrProxy.ConstrainableTxnMgrProxy.getConstraints()
Returns the client constraints placed on this proxy.
|
MethodConstraints |
TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy.getConstraints()
Returns the client constraints placed on the current instance
of this proxy class (
ConstrainableTxnMgrAdminProxy ). |
Modifier and Type | Method and Description |
---|---|
private static TxnManager |
TxnMgrProxy.ConstrainableTxnMgrProxy.constrainServer(TxnManager txnMgr,
MethodConstraints methodConstraints)
Returns a copy of the server proxy with the specified client
constraints and methods mapping.
|
private static TxnManager |
TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy.constrainServer(TxnManager server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
RemoteMethodControl |
TxnMgrProxy.ConstrainableTxnMgrProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
RemoteMethodControl |
TxnMgrAdminProxy.ConstrainableTxnMgrAdminProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableTxnMgrAdminProxy ) with its client
constraints set to the specified constraints. |
Constructor and Description |
---|
ConstrainableTxnMgrAdminProxy(TxnManager server,
Uuid proxyID,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableTxnMgrAdminProxy
instance. |
ConstrainableTxnMgrProxy(TxnManager txnMgr,
Uuid id,
MethodConstraints methodConstraints)
Creates an instance of this class.
|
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
Registration.ConstrainableRegistration.methodConstraints
The client constraints placed on this proxy or
null . |
private MethodConstraints |
ListenerProxy.ConstrainableListenerProxy.methodConstraints
The client constraints placed on this proxy or
null . |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
Registration.ConstrainableRegistration.getConstraints()
Returns the client constraints placed on this proxy.
|
MethodConstraints |
MailboxProxy.ConstrainableMailboxProxy.getConstraints()
Returns the client constraints placed on this proxy.
|
MethodConstraints |
MailboxAdminProxy.ConstrainableMailboxAdminProxy.getConstraints()
Returns the client constraints placed on the current instance
of this proxy class (
ConstrainableMailboxAdminProxy ). |
MethodConstraints |
ListenerProxy.ConstrainableListenerProxy.getConstraints()
Returns the client constraints placed on this proxy.
|
Modifier and Type | Method and Description |
---|---|
private static MailboxBackEnd |
Registration.ConstrainableRegistration.constrainServer(MailboxBackEnd server,
MethodConstraints methodConstraints)
Returns a copy of the server proxy with the specified client
constraints and methods mapping.
|
private static MailboxBackEnd |
MailboxProxy.ConstrainableMailboxProxy.constrainServer(MailboxBackEnd mailbox,
MethodConstraints methodConstraints)
Returns a copy of the server proxy with the specified client
constraints and methods mapping.
|
private static MailboxBackEnd |
MailboxAdminProxy.ConstrainableMailboxAdminProxy.constrainServer(MailboxBackEnd server,
MethodConstraints constraints)
Returns a copy of the given server proxy having the client method
constraints that result after the specified method mapping is
applied to the given client method constraints.
|
private static MailboxBackEnd |
ListenerProxy.ConstrainableListenerProxy.constrainServer(MailboxBackEnd server,
MethodConstraints methodConstraints)
Returns a copy of the server proxy with the specified client
constraints and methods mapping.
|
RemoteMethodControl |
Registration.ConstrainableRegistration.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
RemoteMethodControl |
MailboxProxy.ConstrainableMailboxProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
RemoteMethodControl |
MailboxAdminProxy.ConstrainableMailboxAdminProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy class
(
ConstrainableMailboxAdminProxy ) with its client
constraints set to the specified constraints. |
RemoteMethodControl |
ListenerProxy.ConstrainableListenerProxy.setConstraints(MethodConstraints constraints)
Returns a new copy of this proxy with the client constraints set to the
specified constraints.
|
Constructor and Description |
---|
ConstrainableListenerProxy(MailboxBackEnd server,
Uuid id,
MethodConstraints methodConstraints)
Creates an instance of this class.
|
ConstrainableMailboxAdminProxy(MailboxBackEnd server,
Uuid proxyID,
MethodConstraints methodConstraints)
Constructs a new
ConstrainableMailboxAdminProxy
instance. |
ConstrainableMailboxProxy(MailboxBackEnd mailbox,
Uuid uuid,
MethodConstraints methodConstraints)
Creates an instance of this class.
|
ConstrainableRegistration(Uuid id,
MailboxBackEnd server,
Lease lease,
MethodConstraints methodConstraints)
Creates an instance of this class.
|
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
SetProxy.ConstrainableSetProxy.methodConstraints
The client constraints placed on this proxy or
null . |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
SetProxy.ConstrainableSetProxy.getConstraints()
inherit javadoc
|
MethodConstraints |
NormProxy.ConstrainableNormProxy.getConstraints() |
MethodConstraints |
AdminProxy.ConstrainableAdminProxy.getConstraints() |
Modifier and Type | Method and Description |
---|---|
private static NormServer |
SetProxy.ConstrainableSetProxy.constrainServer(NormServer server,
MethodConstraints methodConstraints,
Method[] mappings)
Returns a copy of the server proxy with the specified client
constraints and methods mapping.
|
RemoteMethodControl |
SetProxy.ConstrainableSetProxy.setConstraints(MethodConstraints constraints)
inherit javadoc
|
RemoteMethodControl |
NormProxy.ConstrainableNormProxy.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
AdminProxy.ConstrainableAdminProxy.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
ConstrainableSetProxy(NormServer server,
Uuid id,
Lease lease,
MethodConstraints methodConstraints)
Creates an instance of this class.
|
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
ConstrainableSpaceProxy2.methodConstraints
Client constraints placed on this proxy (may be
null |
private MethodConstraints |
ConstrainableAdminProxy.methodConstraints
Client constraints placed on this proxy (may be
null |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableSpaceProxy2.getConstraints() |
MethodConstraints |
ConstrainableParticipantProxy.getConstraints() |
MethodConstraints |
ConstrainableAdminProxy.getConstraints() |
Modifier and Type | Method and Description |
---|---|
private static OutriggerAdmin |
ConstrainableIteratorProxy.constrainServer(OutriggerAdmin server,
MethodConstraints constraints)
Returns a copy of the given
OutriggerAdmin proxy
having the client method constraints that result after
mapping defined by methodMapArray is applied. |
private static OutriggerAdmin |
ConstrainableAdminProxy.constrainServer(OutriggerAdmin server,
MethodConstraints constraints)
Returns a copy of the given
OutriggerAdmin proxy
having the client method constraints that result after
mapping defined by methodMapArray is applied. |
private static OutriggerServer |
ConstrainableSpaceProxy2.constrainServer(OutriggerServer server,
MethodConstraints constraints)
Returns a copy of the given
OutriggerServer proxy
having the client method constraints that result after
mapping defined by methodMapArray is applied. |
private static TransactionParticipant |
ConstrainableParticipantProxy.constrainServer(TransactionParticipant participant,
MethodConstraints methodConstraints)
Returns a copy of the server proxy with the specified client
constraints and methods mapping.
|
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. |
AdminIterator |
ConstrainableAdminProxy.contents(Entry tmpl,
Transaction txn,
int fetchSize,
MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableSpaceProxy2.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableParticipantProxy.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableAdminProxy.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
ConstrainableAdminProxy(OutriggerAdmin admin,
Uuid spaceUuid,
MethodConstraints methodConstraints)
Create a new
ConstrainableAdminProxy . |
ConstrainableIteratorProxy(Uuid iterationUuid,
OutriggerAdmin server,
int fetchSize,
MethodConstraints methodConstraints)
Create a new
ConstrainableIteratorProxy . |
ConstrainableParticipantProxy(TransactionParticipant space,
Uuid spaceUuid,
MethodConstraints methodConstraints)
Create a new
ConstrainableParticipantProxy for the given
space. |
ConstrainableSpaceProxy2(OutriggerServer space,
Uuid spaceUuid,
long serverMaxServerQueryTimeout,
MethodConstraints methodConstraints)
Create a new
ConstrainableSpaceProxy2 . |
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
ConstrainableAID.constraints
the client constraints
|
private MethodConstraints |
ConstrainableAID.State.constraints |
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableAID.getConstraints()
Returns the client constraints.
|
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
ConstrainableAID.setConstraints(MethodConstraints constraints)
Returns a new copy of this activation identifier containing the same
unique identifier and a copy of the activator with the new specified
constraints.
|
Constructor and Description |
---|
ConstrainableAID(Activator activator,
UID uid,
MethodConstraints constraints)
Creates an activation identifier containing the specified
remote object activator and a new unique identifier.
|
State(Activator activator,
UID uid,
MethodConstraints constraints) |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
private MethodConstraints |
ConstrainableServiceLease.constraints
Client constraints for this proxy, or null
|
private MethodConstraints |
ConstrainableRegistration.constraints
Client constraints for this proxy, or null
|
private MethodConstraints |
ConstrainableRegistrarProxy.constraints
Client constraints for this proxy, or null
|
private MethodConstraints |
ConstrainableEventLease.constraints
Client constraints for this proxy, or null
|
private MethodConstraints |
ConstrainableAdminProxy.constraints
Client constraints for this proxy, or null
|
Modifier and Type | Method and Description |
---|---|
MethodConstraints |
ConstrainableServiceLease.getConstraints() |
MethodConstraints |
ConstrainableRegistration.getConstraints() |
MethodConstraints |
ConstrainableRegistrarProxy.getConstraints() |
MethodConstraints |
ConstrainableEventLease.getConstraints() |
MethodConstraints |
ConstrainableAdminProxy.getConstraints() |
Modifier and Type | Method and Description |
---|---|
RemoteMethodControl |
ConstrainableServiceLease.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableRegistration.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableRegistrarProxy.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableEventLease.setConstraints(MethodConstraints constraints) |
RemoteMethodControl |
ConstrainableAdminProxy.setConstraints(MethodConstraints constraints) |
Constructor and Description |
---|
ConstrainableAdminProxy(Registrar server,
ServiceID registrarID,
MethodConstraints constraints)
Creates new ConstrainableAdminProxy with given server reference, service
ID and client constraints.
|
ConstrainableEventLease(Registrar server,
ServiceID registrarID,
long eventID,
Uuid leaseID,
long expiration,
MethodConstraints constraints)
Creates new ConstrainableEventLease with given server reference, event
and lease IDs, expiration time and client constraints.
|
ConstrainableRegistrarProxy(Registrar server,
ServiceID registrarID,
MethodConstraints constraints)
Creates new ConstrainableRegistrarProxy with given server reference,
service ID and client constraints.
|
ConstrainableRegistration(Registrar server,
ServiceLease lease,
MethodConstraints constraints)
Creates new ConstrainableRegistration with given server reference,
service lease and client constraints.
|
ConstrainableServiceLease(Registrar server,
ServiceID registrarID,
ServiceID serviceID,
Uuid leaseID,
long expiration,
MethodConstraints constraints)
Creates new ConstrainableServiceLease with given server reference, event
and lease IDs, expiration time and client constraints.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.