de.espirit.firstspirit.agency
Interface BrokerAgent


public interface BrokerAgent

Definition for an agent offering access to SpecialistsBrokers, each of which operates on a remote projects that is registered for the given symbolic name.

Example:
SpecialistsBroker#requestSpecialist(BrokerAgent.TYPE).BrokerAgent#getBroker(symbolicProjectName)

Since:
4.2.405
See Also:
SpecialistsBroker

Field Summary
static SpecialistType<BrokerAgent> TYPE
          The specialized agent's type to be used to look up the agent via a SpecialistsBroker.
 
Method Summary
 SpecialistsBroker getBroker(String symbolicProjectName)
          Try getting hold of a broker for a remote project registered under the given symbolic name.
 

Field Detail

TYPE

static final SpecialistType<BrokerAgent> TYPE
The specialized agent's type to be used to look up the agent via a SpecialistsBroker.

Since:
4.2.405
Method Detail

getBroker

@Nullable
SpecialistsBroker getBroker(@NotNull
                                     String symbolicProjectName)
Try getting hold of a broker for a remote project registered under the given symbolic name.

Parameters:
symbolicProjectName - The symbolic project name.
Returns:
The according broker or null.
Since:
4.2.405


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480