public static final class ProxyLookup.Controller extends Object
ProxyLookup.| Constructor and Description |
|---|
Controller()
Creates a new controller to be attached to a
ProxyLookup. |
| Modifier and Type | Method and Description |
|---|---|
void |
setLookups(Executor notifyIn,
Lookup... lookups)
Set the lookups on the
ProxyLookup this controller controls. |
void |
setLookups(Lookup... lookups)
Set the lookups on the
ProxyLookup this controller controls. |
public Controller()
ProxyLookup.public void setLookups(Executor notifyIn, Lookup... lookups)
ProxyLookup this controller controls.
If called before a ProxyLookup has been attached to this
controller, an IllegalStateException will be thrown.notifyIn - an executor to notify changes inlookups - an array of Lookups to be proxiedIllegalStateException - if called before this instance
has been passed to the constructor of (exactly one) ProxyLookuppublic void setLookups(Lookup... lookups)
ProxyLookup this controller controls.
If called before a ProxyLookup has been attached to this
controller, an IllegalStateException will be thrown.lookups - An array of Lookups to be proxiedIllegalStateException - if called before this instance
has been passed to the constructor of (exactly one) ProxyLookup