|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IServiceConstraint
A constraint on where the service may be instantiated. For example, at most N instances of a service on a host, only on hosts with a given IP address or pattern, etc.
| Method Summary | |
|---|---|
boolean |
allow(JiniFederation fed)
Return true iff a service may be instantiated on this
host. |
| Method Detail |
|---|
boolean allow(JiniFederation fed)
throws Exception
true iff a service may be instantiated on this
host.
Note: Constraints which can be evaluated without the federation reference
MUST NOT throw an exception if that reference is null.
This allows us to evaluate constraints for boostrap services as well as
for ManagedServiceConfigurations
fed - The federation.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||