| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider
public class NotificationReferenceBindingProvider
The runtime representation of the notification reference binding
| Constructor Summary | |
|---|---|
NotificationReferenceBindingProvider(NotificationBinding notificationBinding,
                                     RuntimeComponent component,
                                     RuntimeComponentReference reference,
                                     ServletHost servletHost,
                                     NotificationTypeManager ntm,
                                     EncodingRegistry encodingRegistry,
                                     java.lang.String httpUrl,
                                     NotificationBrokerManager brokerManager)
 | 
|
| Method Summary | |
|---|---|
 Invoker | 
createInvoker(Operation operation)
Create an invoker for the reference binding in the invocation chain.  | 
 void | 
deployBroker(java.lang.String brokerID,
             EndpointReference brokerConsumerEPR,
             java.util.List<EndpointReference> consumerList)
 | 
 void | 
deployProducer()
 | 
 NotificationBinding | 
getBinding()
 | 
 InterfaceContract | 
getBindingInterfaceContract()
Get the effective interface contract imposed by the binding.  | 
 java.lang.String | 
getBrokerID()
 | 
 java.util.List<org.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider.SubscriberInfo> | 
getSubscribers()
 | 
 java.net.URL | 
getURL()
 | 
 void | 
handle(java.util.Map<java.lang.String,java.lang.String> headers,
       ServletInputStream istream,
       int contentLength,
       ServletOutputStream ostream)
 | 
 boolean | 
isStarted()
 | 
 void | 
setBrokerID(java.lang.String brokerID)
 | 
 void | 
start()
This method will be invoked when the component reference binding is activated.  | 
 void | 
stop()
This method will be invoked when the component reference binding is deactivated.  | 
 boolean | 
supportsOneWayInvocation()
For bindings that invoke one-way operations asynchronously, there is no need to perform a thread switch before calling the invoker.  | 
 void | 
undeployBroker(java.net.URL brokerConsumerUrl)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public NotificationReferenceBindingProvider(NotificationBinding notificationBinding,
                                            RuntimeComponent component,
                                            RuntimeComponentReference reference,
                                            ServletHost servletHost,
                                            NotificationTypeManager ntm,
                                            EncodingRegistry encodingRegistry,
                                            java.lang.String httpUrl,
                                            NotificationBrokerManager brokerManager)
| Method Detail | 
|---|
public NotificationBinding getBinding()
public java.net.URL getURL()
public boolean isStarted()
public void setBrokerID(java.lang.String brokerID)
public java.lang.String getBrokerID()
public Invoker createInvoker(Operation operation)
ReferenceBindingProvider
createInvoker in interface ReferenceBindingProvideroperation - The operation that the interceptor will handle
public boolean supportsOneWayInvocation()
ReferenceBindingProvider
supportsOneWayInvocation in interface ReferenceBindingProviderpublic InterfaceContract getBindingInterfaceContract()
ReferenceBindingProvider
getBindingInterfaceContract in interface ReferenceBindingProviderpublic void start()
ReferenceBindingProvider
start in interface ReferenceBindingProviderpublic void stop()
ReferenceBindingProvider
stop in interface ReferenceBindingProviderpublic void deployProducer()
public void deployBroker(java.lang.String brokerID,
                         EndpointReference brokerConsumerEPR,
                         java.util.List<EndpointReference> consumerList)
public void undeployBroker(java.net.URL brokerConsumerUrl)
public void handle(java.util.Map<java.lang.String,java.lang.String> headers,
                   ServletInputStream istream,
                   int contentLength,
                   ServletOutputStream ostream)
handle in interface NotificationServlet.NotificationServletStreamHandlerpublic java.util.List<org.apache.tuscany.sca.binding.notification.NotificationReferenceBindingProvider.SubscriberInfo> getSubscribers()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||