@Strategy(access=FIELD) public class RemoteEndpoint extends Object
| Constructor and Description |
|---|
RemoteEndpoint()
Creates a new, empty RemoteEndpoint.
|
RemoteEndpoint(QName serviceName,
QName domainName,
String endpoint,
String node,
ServiceInterface contract)
Creates a new RemoteEndpoint with the specified attributes.
|
| Modifier and Type | Method and Description |
|---|---|
static RemoteEndpoint |
fromService(Service service)
Create a RemoteEndpoint representation from a registered service.
|
ServiceInterface |
getContract()
Returns the service contract.
|
QName |
getDomainName()
Returns the domain name.
|
String |
getEndpoint()
Returns the endpoint address.
|
String |
getNode()
Returns the node name.
|
QName |
getServiceName()
Returns the name of the service.
|
RemoteEndpoint |
setContract(ServiceInterface contract)
Specifies the service contract.
|
RemoteEndpoint |
setDomainName(QName domainName)
Specifies the domain name.
|
RemoteEndpoint |
setEndpoint(String endpoint)
Specifies the endpoint address.
|
RemoteEndpoint |
setNode(String node)
Specifies the domain name.
|
RemoteEndpoint |
setServiceName(QName serviceName)
Specifies the service name for the endpoint.
|
public RemoteEndpoint()
public RemoteEndpoint(QName serviceName, QName domainName, String endpoint, String node, ServiceInterface contract)
serviceName - the service namedomainName - name of the domain where the service is regsiteredendpoint - endpoint remote access URLnode - the cluster node name where the service residescontract - the contract for the servicepublic QName getServiceName()
public RemoteEndpoint setServiceName(QName serviceName)
serviceName - service namepublic QName getDomainName()
public RemoteEndpoint setDomainName(QName domainName)
domainName - domain namepublic String getEndpoint()
public RemoteEndpoint setEndpoint(String endpoint)
endpoint - endpoint addresspublic ServiceInterface getContract()
public RemoteEndpoint setContract(ServiceInterface contract)
contract - service contractpublic String getNode()
public RemoteEndpoint setNode(String node)
node - domain namepublic static RemoteEndpoint fromService(Service service)
service - registered serviceCopyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.