|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.binding.notification.NotificationServiceBindingProvider
public class NotificationServiceBindingProvider
The runtime representation of the local service binding
Constructor Summary | |
---|---|
NotificationServiceBindingProvider(NotificationBinding notificationBinding,
RuntimeComponent component,
RuntimeComponentService service,
ServletHost servletHost,
NotificationTypeManager ntm,
EncodingRegistry encodingRegistry,
java.lang.String httpUrl,
NotificationBrokerManager brokerManager)
|
Method Summary | |
---|---|
void |
deployBroker(java.lang.String brokerID,
EndpointReference brokerProducerEPR,
java.util.List<EndpointReference> producerList)
|
void |
deployConsumer()
|
NotificationBinding |
getBinding()
|
InterfaceContract |
getBindingInterfaceContract()
Get the effective interface contract imposed by the binding. |
java.net.URL |
getURL()
|
void |
handle(java.util.Map<java.lang.String,java.lang.String> headers,
ServletInputStream istream,
int contentLength,
ServletOutputStream ostream)
|
protected void |
invoke(InvocationChain chain,
java.lang.Object[] args)
|
boolean |
isStarted()
|
void |
replaceBrokerConnection(EndpointReference chosenBrokerProducerEpr)
|
void |
start()
This method will be invoked when the component service binding is activated. |
void |
stop()
This method will be invoked when the component service binding is deactivated. |
protected void |
subscribeWithProducer(java.net.URL producerUrl,
java.lang.String brokerID,
org.apache.tuscany.sca.binding.notification.NotificationServiceBindingProvider.WriteableSubscribe ws)
|
boolean |
supportsOneWayInvocation()
For bindings that invoke one-way callback operations asynchronously, there is no need to perform a thread switch before calling the invoker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationServiceBindingProvider(NotificationBinding notificationBinding, RuntimeComponent component, RuntimeComponentService service, ServletHost servletHost, NotificationTypeManager ntm, EncodingRegistry encodingRegistry, java.lang.String httpUrl, NotificationBrokerManager brokerManager)
Method Detail |
---|
public NotificationBinding getBinding()
public boolean isStarted()
public java.net.URL getURL()
public InterfaceContract getBindingInterfaceContract()
ServiceBindingProvider
getBindingInterfaceContract
in interface ServiceBindingProvider
public boolean supportsOneWayInvocation()
ServiceBindingProvider
supportsOneWayInvocation
in interface ServiceBindingProvider
public void start()
ServiceBindingProvider
start
in interface ServiceBindingProvider
public void stop()
ServiceBindingProvider
stop
in interface ServiceBindingProvider
public void deployConsumer()
protected void subscribeWithProducer(java.net.URL producerUrl, java.lang.String brokerID, org.apache.tuscany.sca.binding.notification.NotificationServiceBindingProvider.WriteableSubscribe ws)
public void deployBroker(java.lang.String brokerID, EndpointReference brokerProducerEPR, java.util.List<EndpointReference> producerList)
public void replaceBrokerConnection(EndpointReference chosenBrokerProducerEpr)
public void handle(java.util.Map<java.lang.String,java.lang.String> headers, ServletInputStream istream, int contentLength, ServletOutputStream ostream)
handle
in interface NotificationServlet.NotificationServletStreamHandler
protected void invoke(InvocationChain chain, java.lang.Object[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |