|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.events.broker.EventBrokerService
@SASScope(value="ALL") @BinaryCompatibilityOnly public class EventBrokerService
The EventBroker Service, which is part of the SAS Foundation Services, is used to process incoming events by instantiating process flows that have been configured and/or forwarding the events to registered listening applications. An overview of the EventBroker Service is provided in the package documentation.
EventBrokerServiceInterface. It can also be used by
remote listener applications that implement ListenerInterface
to register interest in certain events by casting it to a
ListenerRegisterInterface.
Events can also be sent to an EventBroker service over one or more transports that have been configured to monitor for incoming events.
As a convenience this class contains a method
that displays a Swing UI that can be used to deploy SAS Foundation services based on a
designated metadata source configuration. The deployed foundation services must include
an EventBroker service; otherwise, an error will be displayed. Once the services have been
deployed, an EventBroker service will be ready to process incoming events that are received
on the configured transports.
main
| Field Summary |
|---|
| Fields inherited from interface com.sas.services.events.broker.EventBrokerServiceInterface |
|---|
EVENT_TYPE_BROADCAST, EVENT_TYPE_REQUEST_RESPONSE |
| Fields inherited from interface com.sas.services.RemoteServiceInterface |
|---|
CLASS_IDENTIFIER, CLASS_IDENTIFIER_1_1, CLASS_IDENTIFIER_1_2, CLASS_IDENTIFIER_SERVICE_TYPE, CLASS_IDENTIFIER_SERVICE_TYPE_1_1, CLASS_IDENTIFIER_SERVICE_TYPE_1_2 |
| Constructor Summary | |
|---|---|
EventBrokerService(ServiceConfigurationInterface serviceConfiguration)
Deprecated. Constructs an event broker service based upon the specified service configuration. |
|
EventBrokerService(ServiceConfigurationInterface serviceConfiguration,
DiscoveryServiceInterface discoveryService)
Deprecated. Constructs an event broker service based upon the specified service configuration. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Deprecated. Main Swing application. |
void |
reconfigure()
Deprecated. Re-configures this service using the current service configuration associated with this service. |
void |
reconfigure(ServiceConfigurationInterface serviceConfiguration)
Deprecated. Re-configures this service. |
| Methods inherited from interface com.sas.services.RemoteServiceInterface |
|---|
getCreationTime, getServiceConfiguration, getServiceConfiguration, getServiceState, isAccessibleToRemoteClients, isExported, setServiceState |
| Methods inherited from interface com.sas.entities.EntityKeyInterface |
|---|
getEntityKey, sameEntity, setEntityKey |
| Methods inherited from interface com.sas.services.mgmt.ServiceNotificationBroadcasterInterface |
|---|
addServiceObserver, notifyServiceObservers, removeAllServiceObservers, removeServiceObserver |
| Constructor Detail |
|---|
@SASScope(value="ALL")
public EventBrokerService(ServiceConfigurationInterface serviceConfiguration)
throws java.rmi.RemoteException,
ServiceException
serviceConfiguration - Service configuration.
java.rmi.RemoteException - if a network anomaly occurs.
ServiceException - if unable to configure the service
using the specified service configuration.
public EventBrokerService(ServiceConfigurationInterface serviceConfiguration,
DiscoveryServiceInterface discoveryService)
throws java.rmi.RemoteException,
ServiceException
serviceConfiguration - Service configuration.
java.rmi.RemoteException - if a network anomaly occurs.
ServiceException - if unable to configure the service
using the specified service configuration.| Method Detail |
|---|
public void reconfigure(ServiceConfigurationInterface serviceConfiguration)
throws ServiceException,
java.rmi.RemoteException
reconfigure in interface RemoteServiceInterfacereconfigure in class AbstractRemoteServiceserviceConfiguration - An object containing configuration data
necessary to re-configure a service. Note that the
service provider must verify that the object type is supported.
A ServiceException should be thrown if
the re-initialization was not completed successfully.
ServiceException - if unable to reconfigure the service
using the specified service configuration.
java.rmi.RemoteException - if a network anomaly occurs.
public void reconfigure()
throws ServiceException,
java.rmi.RemoteException
ServiceException - if unable to reconfigure the service
using the specified service configuration.
java.rmi.RemoteException - if a network anomaly occurs.@SASScope(value="ALL") public static void main(java.lang.String[] args)
Invoke a UI to deploy the SAS Foundation Services.
args - optional metadata source configuration file.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||