public class AgentBroker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONSUMER_ROLE |
static java.lang.String |
NORMALIZED_URI
Identifies the normalized binding.
|
static java.lang.String |
PROVIDER_ROLE |
Modifier and Type | Method and Description |
---|---|
void |
addAgent(java.lang.String uri,
SoaAgent agent)
Called by the agent to publish an agent implementation.
|
void |
addAgent(java.lang.String uri,
java.lang.String role,
SoaAgent agent)
Called by the agent to publish an agent implementation.
|
SoaAgent |
getAgent()
Returns the published agent implementation that handles normalized
messages.
|
SoaAgent |
getAgent(java.lang.String uri)
Returns the published agent implementation that handles the given
binding.
|
SoaAgent |
getAgent(java.lang.String uri,
java.lang.String role)
Returns the published agent implementation that handles the given
binding.
|
SoaAgent |
getDelegate()
Returns the published delegate implementation that handles normalized
messages.
|
SoaAgent |
getDelegate(java.lang.String uri)
Returns the published delegate implementation that handles the given
binding.
|
static AgentBroker |
getInstance()
Returns the broker singleton instance.
|
void |
removeAgent(java.lang.String uri)
Called by the agent to remove an agent implementation.
|
void |
removeAgent(java.lang.String uri,
java.lang.String role)
Called by the agent to remove an agent implementation.
|
public static final java.lang.String NORMALIZED_URI
public static final java.lang.String CONSUMER_ROLE
public static final java.lang.String PROVIDER_ROLE
public SoaAgent getAgent()
public SoaAgent getAgent(java.lang.String uri)
uri
- URI of the binding being used.public SoaAgent getAgent(java.lang.String uri, java.lang.String role)
uri
- URI of the binding being used.role
- Role of the agent.public SoaAgent getDelegate()
public SoaAgent getDelegate(java.lang.String uri)
uri
- URI of the binding being used.public void addAgent(java.lang.String uri, SoaAgent agent)
uri
- URI of the binding the agent implementation supports.agent
- SoaAgent implementation.public void addAgent(java.lang.String uri, java.lang.String role, SoaAgent agent)
uri
- URI of the binding the agent implementation supports.role
- Role of the agent.agent
- SoaAgent implementation.public void removeAgent(java.lang.String uri)
uri
- URI of the binding the agent implementation supports.public void removeAgent(java.lang.String uri, java.lang.String role)
uri
- URI of the binding the agent implementation supports.role
- Role of the agent.public static AgentBroker getInstance()
?? 2022 Perforce Software, All rights reserved
This software is the confidential and proprietary information of Perforce, Inc. and is subject to copyright protection under laws of the United States of America and other countries. The use of this software should be in accordance with the license agreement terms you entered into with Perforce, Inc.