public interface ServiceReference
Modifier and Type | Method and Description |
---|---|
Exchange |
createExchange()
Creates a new Exchange to invoke this service.
|
Exchange |
createExchange(ExchangeHandler handler)
Creates a new Exchange to invoke this service, with replies handled by
the specified ExchangeHandler.
|
Exchange |
createExchange(String operation)
Creates a new Exchange to invoke this service with the specified exchange
pattern.
|
Exchange |
createExchange(String operation,
ExchangeHandler handler)
Creates a new Exchange to invoke this service with the specified exchange
pattern.
|
ServiceDomain |
getDomain()
The domain in which this service reference is registered.
|
ServiceInterface |
getInterface()
Interface metadata for the registered service.
|
QName |
getName()
Qualified name of the service.
|
ServiceMetadata |
getServiceMetadata()
Return runtime metadata associated with this service reference.
|
QName |
getTargetServiceName()
Returns the name of a service which is wired from this reference.
|
void |
unregister()
Unregisters this service reference from the domain it's registered in.
|
void |
wire(QName serviceName)
Wire this service reference to a registered service.
|
QName getName()
ServiceDomain getDomain()
ServiceInterface getInterface()
Exchange createExchange()
Exchange createExchange(ExchangeHandler handler)
handler
- used to process reply messagesExchange createExchange(String operation)
operation
- the operation to invokeExchange createExchange(String operation, ExchangeHandler handler)
operation
- the operation to invokehandler
- used to process response and fault messagesvoid unregister()
void wire(QName serviceName)
serviceName
- service name to wireQName getTargetServiceName()
ServiceMetadata getServiceMetadata()
Copyright © 2013–2017 JBoss by Red Hat. All rights reserved.