Default RESTful Service Facade
Customize the RESTful Service Facade
Interface: PluginInstanceFactory
Interface: PluginServiceLifecycle
<Web Services Interface>Service_Impl
<Web Services Interface>Service
Interface: NotificationManager
Operation: startEventNotification
Operation: stopEventNotification
Interface: NotificationListener
Operation: notifyDataReception
$PDS_HOME/example/communication_service/example/common/wsdl/service
$PDS_HOME/example/communication_service/example/common/wsdl/callback
$PDS_HOME/example/communication_service/example/common/src
$PDS_HOME/example/communication_service/example/plugins/netex/src
$PDS_HOME/example/communication_service/example/common/resources/at/META-INF
$PDS_HOME/example/communication_service/example/common/resources/nt/META-INF
$PDS_HOME/example/communication_service/example/plugins/netex/config/edr
$PDS_HOME/example/communication_service/example/plugins/netex/instance_factory
$PDS_HOME/example/communication_service/example/plugins/netex/storage
$PDS_HOME/example/communication_service/
$PDS_HOME/example/communication_service/example/common
$PDS_HOME/example/communication_service/example/plugins/netex
$PDS_HOME/example/communication_service/example/dist
$PDS_HOME/example/communication_service/example/common/dist
$PDS_HOME/example/communication_service/example/common/dist/request_factory_skel
$PDS_HOME/example/communication_service/example/plugins/netex/dist
$PDS_HOME/example/communication_service/example/plugins/netex/dist/mbean_generationdir
NotificationManagerPluginFactory
public void validateRequest(Method method, Object... args)
public RequestInfo createRequestInfo(Class<? extends Plugin> type, Method method, Object... args)
public Throwable convertEx(Method method, Throwable e)
private Throwable convertEx(Method method, PluginException e)
public void translate(Object param, ContextInfo info)
public String[] getSupportedSchemes()
public void init(String id, PluginPool pool)
public void handleSuspending(CompletionBarrier barrier)
public void handleForceSuspending()
public ServiceType getServiceType()
public String getNetworkProtocol()
private void rethrowServiceDeploymentException(Exception e)
public ConfigurationStoreHandler getConfigurationStore()
public NetworkProxy getNetworkProxy()
public void setLocalInteger(String key, Integer value),
public Integer getLocalInteger(String key),
public void setLocalString(String key, String value), and
public String getLocalString(String key)
public void deliver(String data, String destinationAddress, String originatingAddress)
private NotificationCallback getNotificationCallback()
private NotificationData getNotificationData(String destinationAddress)
NetworkToNotificationPluginAdapter
public void setNotificationHandler(NotificationHandlerNorth notificationHandlerNorth)
NetworkToNotificationPluginAdapterImpl
public void setNotificationHandler(NotificationHandlerNorth notificationHandlerNorth)
public String resolveAppInstanceGroupdId(ContextMapperInfo info)
NotificationManagerPluginNorth
public void setPluginToNetworkAdapter(SendDataPluginToNetworkAdapter adapter)
public SendDataResponse sendData(@ContextTranslate(ContextTranslatorImpl.class) SendData parameters)
public void send(NetworkProxy proxy, String address, String data)
public String resolveAppInstanceGroupdId(ContextMapperInfo info)
public void prepareRequestContext(RequestContext ctx, ContextMapperInfo info))
SendDataPluginToNetworkAdapter
SendDataPluginToNetworkAdapterImpl
public SendDataPluginToNetworkAdapterImpl()
public void setNetworkProxy(NetworkProxy networkProxy)
public void send(String address, String data)
public boolean matches(Object value)
public void setParameters(Serializable ... parameters)
public static StoreHelper getInstance()
public void addNotificationData(URI address, NotificationData notificationData)
public void removeNotificationData(String correlator)
public NotificationData getNotificationData(String destinationAddress)
private Store<String, NotificationData> getStore()
public ExamplePluginInstance(String id, ExamplePluginService parent)
public void handleSuspending()
public int customMatch(RequestInfo requestInfo)
private void rethrowDeploymentException(Exception e)
public ConfigurationStoreHandler getConfigurationStore()
public TimerManager getTimerManager()
public String[] getSupportedSchemes()
public void init(String id, PluginPool pool)
public void doStopped()/public void doActivated()/public void doDeactivated()
public void handleSuspending(CompletionBarrier barrier)
public void handleForceSuspending ()
public ServiceType getServiceType()
public String getNetworkProtocol()
public ManagedPluginInstance createInstance(String pluginInstanceId)
public void init(ServletContext servletContext)
public SipSessionsUtil getSessionsUtil()
public SipFactory getSipFactory()
public synchronized void registerCallback(NetworkCallback callback)
public synchronized void unregisterCallback(NetworkCallback callback)
public synchronized void notifyCallbacks(String fromAddress, String toAddress, String message)
public void send(String address, String data)
public String resolveAppInstanceGroupdId(ContextMapperInfo info)
public void prepareRequestContext(RequestContext ctx, ContextMapperInfo info))
public NotificationHandlerNorth()
public String resolveAppInstanceGroupdId(ContextMapperInfo info)
public void prepareRequestContext(RequestContext ctx, ContextMapperInfo info))
Interface: EventChannelListener
Interface: PluginInstanceFactory
Interface: PluginServiceLifecycle
Interface: PluginInstanceLifecycle
Boolean semantic of the filters
Example 5: filter with corresponding code for manually triggering a matching EDR
Excluded keys (EdrConstants if not specified):
AdditionalDataValueType enumeration
Input message: evaluateRequest
Output message: evaluateResponse
Output message: viewRuleFileResponse
Output message: deleteRuleFileResponse
Output message: loadRulesResponse
Output message: listRuleFilesResponse