Modifier and Type | Method and Description |
---|---|
void |
HTTPDataspaceAccessor.addEventTrigger(java.lang.String triggerSyntax) |
void |
HTTPDataspaceAccessor.alterEventTrigger(java.lang.String triggerSyntax) |
EventTriggerData |
HTTPDataspaceAccessor.getEventTriggerData(java.lang.String triggerName) |
EventTriggerDefinition |
HTTPDataspaceAccessor.getEventTriggerDefinition(java.lang.String triggerName) |
java.lang.String |
HTTPDataspaceAccessor.getEventTriggerSyntax(java.lang.String triggerName) |
void |
HTTPDataspaceAccessor.removeAllEventTriggers() |
void |
HTTPDataspaceAccessor.removeEventTrigger(java.lang.String triggerName) |
void |
HTTPDataspaceAccessor.setEventTriggerAutoEnable(java.lang.String triggerName,
boolean autoEnable) |
Modifier and Type | Method and Description |
---|---|
EventTriggerDefinition |
DataspaceAccessorProxy.getEventTriggerDefinition(com.streamscape.ds.session.Session session,
java.lang.String triggerName) |
void |
DataspaceAccessorProxy.removeAllEventTriggers() |
void |
DataspaceAccessorProxy.removeEventTrigger(java.lang.String triggerName) |
void |
DataspaceAccessorProxy.setEventTriggerDefinition(java.lang.String triggerName,
EventTriggerDefinition trigger) |
Modifier and Type | Method and Description |
---|---|
static ServiceConfigurationObject |
ServiceConfigurationFactory.createDefaultServiceConfiguration(FabricComponent component,
java.lang.String serviceTypeName)
The constructor that allows for creation of a default (factory)
Service Configuration Object . |
static ServiceConfigurationObject |
ServiceConfigurationFactory.createServiceConfiguration(FabricComponent component,
java.lang.String serviceName,
java.lang.String serviceTypeName,
boolean isTransient)
A convenience constructor that creates a
Service Configuration Object of a specific type. |
static boolean |
ServiceConfigurationFactory.existsConfigurationObject(java.lang.String serviceName,
java.lang.String serviceType) |
static boolean |
ServiceConfigurationFactory.existsServiceInstances(java.lang.String serviceType) |
static boolean |
ServiceConfigurationFactory.existsServicePrototype(java.lang.String serviceType) |
static ServiceConfigurationObject |
ServiceConfigurationFactory.loadConfigurationObject(FabricComponent component,
java.lang.String serviceName,
java.lang.String serviceType,
boolean isTransient)
Loads
Service Configuration Object from a repository, a runtime cache
or combination of sources based on the persistence mode. |
static ServiceConfigurationObject |
ServiceConfigurationFactory.loadConfigurationObject(FabricComponent component,
java.lang.String workingDir,
java.lang.String serviceName,
java.lang.String serviceType,
boolean isTransient)
Loads a service configuration instance from a file at the location supplied by the
workingDir parameter. |
static void |
ServiceConfigurationFactory.removeConfigurationObject(java.lang.String serviceName,
java.lang.String serviceType)
Remove a service configuration from the backing persistence store.
|
static void |
ServiceConfigurationFactory.saveConfigurationObject(ServiceConfigurationObject sco)
Saves a configuration object to a repository specified by the
Repository Context . |
static void |
ServiceConfigurationFactory.saveConfigurationObject(java.lang.String workingDir,
ServiceConfigurationObject sco)
Saves a configuration object to a file at the location specified by the
workingDir
parameter. |
Modifier and Type | Method and Description |
---|---|
void |
EventTriggerManagerDelegate.addEventTrigger(java.lang.String triggerSyntax)
Adds a new event trigger to the component.
|
void |
EventTriggerManagerDelegate.alterEventTrigger(java.lang.String triggerSyntax)
Alters event trigger.
|
void |
EventTriggerManagerDelegate.disableEventTrigger(java.lang.String triggerName)
If service is running sets enabled to false and disables a trigger with a given name, halting event processing.
|
void |
EventTriggerManagerDelegate.enableEventTrigger(java.lang.String triggerName)
If service is running sets enabled to true and enables a trigger with a given name allowing it to process events.
|
EventTriggerData |
FabricEventTriggerSource.getEventTriggerData(java.lang.String triggerName)
Returns event trigger data.
|
EventTriggerDefinition |
EventTriggerManagerDelegate.getEventTriggerDefinition(java.lang.String triggerName)
Returns a trigger definition with a specific name.
|
java.lang.String |
EventTriggerManagerDelegate.getEventTriggerSyntax(java.lang.String triggerName)
Returns full event trigger syntax.
|
void |
EventTriggerManagerDelegate.removeAllEventTriggers()
Removes all event triggers from this component.
|
void |
EventTriggerManagerDelegate.removeEventTrigger(java.lang.String triggerName)
Removes an event trigger from the component.
|
void |
EventTriggerManagerDelegate.setEventTriggerAutoEnable(java.lang.String triggerName,
boolean autoEnable)
Sets event trigger auto-enable flag.
|
Modifier and Type | Method and Description |
---|---|
void |
DirectServiceAccessor.addEventTrigger(java.lang.String triggerSyntax) |
void |
DirectServiceAccessor.alterEventTrigger(java.lang.String triggerSyntax) |
void |
DirectServiceAccessor.disableEventTrigger(java.lang.String triggerName) |
void |
DirectServiceAccessor.enableEventTrigger(java.lang.String triggerName) |
EventTriggerData |
DirectServiceAccessor.getEventTriggerData(java.lang.String triggerName) |
EventTriggerDefinition |
DirectServiceAccessor.getEventTriggerDefinition(java.lang.String triggerName) |
java.lang.String |
DirectServiceAccessor.getEventTriggerSyntax(java.lang.String triggerName) |
static boolean |
EventTriggerSyntaxStore.isSyntaxExists(ServiceContext serviceContext,
java.lang.String triggerName) |
static java.util.List |
EventTriggerSyntaxStore.listTriggers(ServiceContext serviceContext) |
static java.lang.String |
EventTriggerSyntaxStore.loadSyntax(ServiceContext serviceContext,
java.lang.String triggerName) |
void |
DirectServiceAccessor.removeAllEventTriggers() |
void |
DirectServiceAccessor.removeEventTrigger(java.lang.String triggerName) |
static void |
EventTriggerSyntaxStore.removeSyntax(ServiceContext serviceContext,
java.lang.String triggerName) |
static void |
EventTriggerSyntaxStore.removeSyntaxes(ServiceContext serviceContext) |
static void |
EventTriggerSyntaxStore.saveSyntax(ServiceContext serviceContext,
java.lang.String triggerName,
java.lang.String triggerSyntax) |
void |
DirectServiceAccessor.setEventTriggerAutoEnable(java.lang.String triggerName,
boolean autoEnable) |
static void |
ServiceScoUpdater.update(ServiceContext context,
java.util.function.Consumer updater) |
Modifier and Type | Method and Description |
---|---|
ImmutableEventDatagram |
ServiceContext.createResponseEvent(java.lang.String methodName)
Creates an instance of response event based on the Event Handler method name.
|
EventHandler |
ServiceContext.getEventHandler(java.lang.String name)
Returns an event handler with specified name.
|
ServicePropertyType |
ServiceContext.getPropertyType(java.lang.String property)
Returns a type of the specified property.
|
boolean |
ServiceContext.hasEventProperty(java.lang.String property)
Checks if the specified property exists in event which invoked the service.
|
java.lang.Boolean |
ServiceContext.lookupAdvancedBooleanProperty(java.lang.String property)
Returns a value of the specified advanced property of boolean type.
|
java.lang.Long |
ServiceContext.lookupAdvancedNumericProperty(java.lang.String property)
Returns a value of the specified advanced property of numeric type.
|
java.lang.String |
ServiceContext.lookupAdvancedTextProperty(java.lang.String property)
Returns a value of the specified advanced property of text type.
|
java.lang.Boolean |
ServiceContext.lookupBooleanProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.BOOLEAN type. |
ClientFactory |
ServiceContext.lookupClientFactoryProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.CLIENT_FACTORY type. |
java.lang.Double |
ServiceContext.lookupDecimalProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.DECIMAL type. |
java.lang.String |
ServiceContext.lookupEnumProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.ENUMERATION type. |
java.lang.String |
ServiceContext.lookupEventProperty(java.lang.String property)
Returns the property value of event which invoked the service.
|
JDBCFactory |
ServiceContext.lookupJdbcFactoryProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.JDBC_FACTORY type. |
java.util.List |
ServiceContext.lookupListProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.LIST type. |
java.lang.Long |
ServiceContext.lookupNumericProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.NUMERIC type. |
ObjectPropertyValue |
ServiceContext.lookupObjectProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.OBJECT type. |
java.lang.String |
ServiceContext.lookupPasswordProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.PASSWORD type. |
java.lang.Object |
ServiceContext.lookupProperty(java.lang.String property)
Returns a value of the specified property.
|
java.lang.String |
ServiceContext.lookupStringProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.STRING type. |
java.util.Hashtable |
ServiceContext.lookupTableProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.TABLE type. |
TransportFactory |
ServiceContext.lookupTransportFactoryProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.TRANSPORT_FACTORY type. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractServiceConfigurationObject.addActionableEvent(java.lang.String eventId) |
void |
ActionableEventsConfiguration.addActionableEvent(java.lang.String eventId)
Adds an actionable event and its prototype to the list of supported events.
|
void |
AdvisoriesConfiguration.addAdvisory(java.lang.String eventId)
This method adds a standard
Advisory to the configuration. |
void |
AbstractServiceConfigurationObject.addAdvisory(java.lang.String eventId) |
void |
AbstractServiceConfigurationObject.addEventHandler(EventHandler evh) |
void |
EventHandlersConfiguration.addEventHandler(EventHandler evh)
Add an
Event Handler method to the service configuration. |
void |
AbstractServiceConfigurationObject.addEventTrigger(java.lang.String triggerName) |
void |
EventTriggersConfiguration.addEventTrigger(java.lang.String triggerName)
Adds new event trigger to the configuration
|
void |
AbstractServiceConfigurationObject.addEventTriggerData(EventTriggerData eventTriggerData) |
void |
AbstractServiceConfigurationObject.addException(java.lang.String eventId) |
void |
ExceptionsConfiguration.addException(java.lang.String eventId)
This method adds a standard
Advisory to the configuration. |
void |
MetricsConfiguration.addMetric(MetricDefinition metric)
This method adds a
Metric to the Service Configuration. |
void |
AbstractServiceConfigurationObject.addMetric(MetricDefinition metric) |
void |
AbstractServiceConfigurationObject.addProperty(ServiceConfigurationProperty property) |
void |
ServiceConfigurationProperties.addProperty(ServiceConfigurationProperty property)
Adds a configuration property definition to the structure.
|
void |
AdvisoriesConfiguration.addStateAdvisory(StateAdvisoryDefinition advisory)
This method adds a
State Advisory to the Service Configuration. |
void |
AbstractServiceConfigurationObject.addStateAdvisory(StateAdvisoryDefinition advisory) |
EventHandler |
AbstractServiceConfigurationObject.createEventHandler(java.lang.String methodName,
java.lang.String handlerName)
Creates an empty instance of a
Service Event Handler definition. |
MetricDefinition |
AbstractServiceConfigurationObject.createMetric(java.lang.String metricName)
Creates an instance of a
Service Metric definition. |
ServiceConfigurationProperty |
AbstractServiceConfigurationObject.createProperty(java.lang.String propertyName,
ServicePropertyType propertyType,
java.lang.String propertyGroup)
Create an instance of a
Service Configuration Property . |
StateAdvisoryDefinition |
AbstractServiceConfigurationObject.createStateAdvisory(java.lang.String eventId)
Creates an empty instance of a
State Notification definition. |
EventHandler |
AbstractServiceConfigurationObject.getEventHandler(java.lang.String evhName) |
EventHandler |
EventHandlersConfiguration.getEventHandler(java.lang.String evhMethodName)
Retuns the
Event Handler with a specified name. |
MetricDefinition |
MetricsConfiguration.getMetric(java.lang.String metricName)
Returns the specific
Metric instance for this Service Configuration. |
MetricDefinition |
AbstractServiceConfigurationObject.getMetric(java.lang.String metricName) |
java.util.List |
AbstractServiceConfigurationObject.getPropertiesForGroup(java.lang.String groupName) |
java.util.List |
ServiceConfigurationProperties.getPropertiesForGroup(java.lang.String groupName)
Returns an enumeration of properties for a specific group.
|
ServiceConfigurationProperty |
AbstractServiceConfigurationObject.getProperty(java.lang.String name) |
ServiceConfigurationProperty |
ServiceConfigurationProperties.getProperty(java.lang.String name)
Gets a property instance by name.
|
StateAdvisoryDefinition |
AdvisoriesConfiguration.getStateAdvisoryDefinition(java.lang.String advisoryName)
Get State Advisory definition object from the Service Configuration.
|
StateAdvisoryDefinition |
AbstractServiceConfigurationObject.getStateAdvisoryDefinition(java.lang.String advisoryName) |
void |
AbstractServiceConfigurationObject.removeActionableEvent(java.lang.String eventId) |
void |
ActionableEventsConfiguration.removeActionableEvent(java.lang.String eventId)
Remove an actionable event from the list of supported types.
|
void |
AdvisoriesConfiguration.removeAdvisory(java.lang.String advisoryName)
Removes the advisory from the Service Configuration.
|
void |
AbstractServiceConfigurationObject.removeAdvisory(java.lang.String advisoryName) |
void |
AbstractServiceConfigurationObject.removeEventHandler(java.lang.String evhName) |
void |
EventHandlersConfiguration.removeEventHandler(java.lang.String evhMethodName)
Remove an
Event Handler method from the service configuration. |
void |
AbstractServiceConfigurationObject.removeEventTrigger(java.lang.String triggerName) |
void |
EventTriggersConfiguration.removeEventTrigger(java.lang.String triggerName)
Removes a trigger from the configuration.
|
void |
AbstractServiceConfigurationObject.removeException(java.lang.String eventId) |
void |
ExceptionsConfiguration.removeException(java.lang.String eventId) |
void |
MetricsConfiguration.removeMetric(java.lang.String metricName)
Removes a
Metric from the Service Configuration. |
void |
AbstractServiceConfigurationObject.removeMetric(java.lang.String metricName) |
void |
AbstractServiceConfigurationObject.removeProperty(java.lang.String name) |
void |
ServiceConfigurationProperties.removeProperty(java.lang.String name)
Removes a configuration property definition from the structure.
|
void |
AbstractServiceConfigurationObject.setActionableEventId(java.lang.String oldId,
java.lang.String newId) |
void |
ActionableEventsConfiguration.setActionableEventId(java.lang.String oldId,
java.lang.String newId)
Sets the
eventId of the actionable event. |
void |
ServiceConfigurationProperty.setDefault(java.lang.Object dflt)
Sets the default value of the property.
|
void |
DestinationPropertyValue.setDestinationName(java.lang.String destName) |
void |
DestinationPropertyValue.setDestinationType(java.lang.String semanticType) |
void |
AbstractServiceConfigurationObject.setInterruptableService(boolean isInterruptable) |
void |
ConfigurationObject.setInterruptableService(boolean isInterruptable)
Sets the status of the service to interruptable or non-interruptable.
|
void |
ObjectPropertyValue.setObjectName(java.lang.String objName) |
void |
ObjectPropertyValue.setObjectType(java.lang.String semanticType) |
void |
ServiceConfigurationProperty.setValue(java.lang.Object value)
The value of the property.
|
void |
ServiceConfigurationProperty.setValue(java.lang.String valueWithMacro)
Sets the value based on its String representation.
|
Constructor and Description |
---|
DestinationPropertyValue(java.lang.String destName,
java.lang.String semanticType,
java.lang.String factoryType) |
ObjectPropertyValue(java.lang.String objName,
java.lang.String semanticType,
ReferenceContext ctx) |
Modifier and Type | Method and Description |
---|---|
void |
EventHandler.bindResponseObject(java.lang.String eventId,
SemanticType type)
Binds the specified event id and semantic type as the response object of the event handler.
|
void |
EventHandler.bindResponseObject(java.lang.String eventId,
java.lang.String type)
Binds the specified event id and semantic type as the response object of the event handler.
|
void |
EventHandler.bindVoidResponseObject(java.lang.String eventId)
Binds a
void response to the event handler. |
void |
EventHandler.unbindResponse()
Unbinds the response object.
|
Modifier and Type | Method and Description |
---|---|
ConfigurationObject |
GlobalVariablesResolver.resolveVariables(ConfigurationObject sco)
Resolves the variables, substituting their expanded values in the run-time configuration registry.
|
Modifier and Type | Method and Description |
---|---|
void |
ActionableEvents.addActionableEvent(java.lang.String eventId) |
void |
AdvisoryEvents.addAdvisory(java.lang.String eventId) |
void |
EventHandlers.addEventHandler(EventHandler evh) |
void |
EventTriggers.addEventTrigger(java.lang.String triggerName) |
void |
EventTriggers.addEventTriggerData(EventTriggerData eventTriggerData) |
void |
ExceptionEvents.addException(java.lang.String eventId) |
void |
Metrics.addMetric(MetricDefinition metric) |
void |
ConfigurationProperties.addProperty(ServiceConfigurationProperty property) |
void |
AdvisoryEvents.addStateAdvisory(StateAdvisoryDefinition advisory) |
EventHandler |
EventHandlers.getEventHandler(java.lang.String evhName) |
EventHandler |
EventHandlers.getEventHandlerByMethodName(java.lang.String methodName) |
MetricDefinition |
Metrics.getMetric(java.lang.String metricName) |
java.util.List |
ConfigurationProperties.getPropertiesForGroup(java.lang.String groupName) |
ServiceConfigurationProperty |
ConfigurationProperties.getProperty(java.lang.String name) |
StateAdvisoryDefinition |
AdvisoryEvents.getStateAdvisoryDefinition(java.lang.String eventId) |
void |
ActionableEvents.removeActionableEvent(java.lang.String eventId) |
void |
AdvisoryEvents.removeAdvisory(java.lang.String eventId) |
void |
EventHandlers.removeEventHandler(java.lang.String evhName) |
void |
EventHandlers.removeEventHandlerByMethodName(java.lang.String methodName) |
void |
EventTriggers.removeEventTrigger(java.lang.String triggerName) |
void |
ExceptionEvents.removeException(java.lang.String eventId) |
void |
Metrics.removeMetric(java.lang.String metricName) |
void |
ConfigurationProperties.removeProperty(java.lang.String name) |
void |
ActionableEvents.setActionableEventId(java.lang.String oldId,
java.lang.String newId) |
void |
ConfigurationProperties.setPropertyValue(java.lang.String name,
java.lang.Object propertyValue) |
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.