|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpecialistsBroker
Broker for requesting services or providers, specialized on (small) tasks or information.
Request a broker for a remote project registered under the given symbolic name.SpecialistsBroker#requireSpecialist(BrokerAgent.TYPE).getBroker(remote)
Perform small tasks on the requested broker for a given agent type.
SpecialistsBroker#requireSpecialist(StoreElementAgent.TYPE).loadStoreElement(uid,uidType,isRelease())
SpecialistsBroker#requireSpecialist(StoreAgent.TYPE).getStore(Store.Type.TEMPLATESTORE,false)
Request a broker for a service component registered under the given type.
SpecialistsBroker#requireSpecialist(ServicesBroker.TYPE).getService(MyModuleService.class)
Method Summary | ||
---|---|---|
|
requestSpecialist(SpecialistType<S> type)
Request a specialist. |
|
|
requireSpecialist(SpecialistType<S> type)
Require a specialist. |
Method Detail |
---|
@Nullable <S> S requestSpecialist(SpecialistType<S> type)
S
- The Java type of the instance being returned.type
- The type definition of the specialist to look up.
null
.@NotNull <S> S requireSpecialist(SpecialistType<S> type) throws IllegalStateException
S
- The Java type of the instance being returned.type
- The type definition of the specialist to look up.
IllegalStateException
- If no specialist was found for the given type.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |