public interface SpecialistsBroker
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)
Modifier and Type | Method and Description |
---|---|
<S> S |
requestSpecialist(SpecialistType<S> type)
Request a specialist.
|
<S> S |
requireSpecialist(SpecialistType<S> type)
Require a specialist.
|
@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.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500