public interface ServiceContext extends ServiceComponent, SLCallable, FabricComponent
Title: Service Event Fabric Core
Description: A general service context that allows for re-hosting.
The Service Context
is a delegate object that is used by a Service Hosting Container
to
instantiate and act on a particular Service instance. It serves as a proxy or adapter between the service container and
the actual service logic, allowing developers to create context adapters specific to a particular container implementation.
This is referred to as a Portable Context Adapter
.
Most service hosting frameworks such as Mule
, Spring Framework
or Service Mix
provide
their own service execution context object that should be passed to a given context adapter implementation in the constructor.
The implementing class will prepare the adapter for access to by the service and advertise any framework-specific capabilities
that a container may support such as Metrics, Notifications or Global Variables.
The context adapter acts as a Fabric Component
delegate, loading and instantiating the service that is
specified by the Service Configuration Object
. It is the responsibility of the context adapter to resolve
and load the service configuration. This is typically done by accessing the Repository Context
that is
registered in the Runtime Context
. The actual logic is implementation specific.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CANCEL_NOTIFICATION |
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeAndForward(EventDatagram sourceEvent,
boolean withSourceData,
AcknowledgeAction action,
java.lang.String recipientId,
long timeToLive)
Acknowledges and forwards a service-specific event.
|
void |
acknowledgeEvent(EventDatagram event,
boolean withSourceData,
AcknowledgeAction action,
java.lang.String recipientId,
long timeToLive)
Acknowledges a service-specific event.
|
void |
acknowledgeException(ExceptionEventDatagram event,
AcknowledgeAction action,
java.lang.String recipientId,
long timeToLive)
Acknowledges a service-specific exception event.
|
void |
cancel()
Attempt to cancel all current requests handled by this service context.
|
DataspaceAccessor |
createDataspaceAccessor(DataspaceType dataspaceType,
java.lang.String dataspaceName)
Creates an accessor to the dataspace with the specified type and name.
|
DataspaceAccessor |
createDataspaceAccessor(java.lang.String nodeName,
DataspaceType dataspaceType,
java.lang.String dataspaceName)
Creates an accessor to the dataspace with the specified type and name.
|
EventAsyncConsumer |
createEventAsyncConsumer(java.lang.String consumerName,
FabricEventListener listener,
java.lang.String eventFilter,
java.lang.String eventSelector)
Creates a new asynchronous event consumer and adds this consumer to the dispatcher of the context.
|
EventConsumer |
createEventConsumer(java.lang.String consumerName,
FabricEventListener listener,
java.lang.String eventFilter,
java.lang.String eventSelector)
Creates a new synchronous event consumer and adds this consumer to the dispatcher of the context.
|
ImmutableEventDatagram |
createResponseEvent(java.lang.String methodName)
Creates an instance of response event based on the Event Handler method name.
|
ServiceAccessor |
createServiceAccessor(java.lang.String serviceType,
java.lang.String serviceName)
Creates an accessor to a service with the specified type and name.
|
ServiceAccessor |
createServiceAccessor(java.lang.String nodeName,
java.lang.String serviceType,
java.lang.String serviceName)
Creates an accessor to a service with the specified type and name.
|
void |
dropConsumer(java.lang.String consumerName)
Drops an event consumer with the specified name from the dispatcher of the context.
|
boolean |
existsAdvancedProperty(java.lang.String property)
Checks if the specified advanced property exists.
|
boolean |
existsEventHandler(java.lang.String handlerName)
Checks if the specified event handler exists.
|
boolean |
existsProperty(java.lang.String property)
Checks if the specified property exists.
|
StateAdvisoryFactory |
getAdvisoriesFactory()
Returns an advisories factory for this service context.
|
EventHandler |
getEventHandler(java.lang.String name)
Returns an event handler with specified name.
|
java.util.List |
getEventHandlers()
Returns a list of all event handlers defined in this context.
|
EventIdentityPlugin |
getIdentityPlugin()
Returns an Event Identity Plugin associated with the context.
|
Connection |
getJDBCConnection(java.lang.String dataspaceName)
Returns a JDBC Connection object to the embedded dataspace store.
|
MacroProcessor |
getMacroProcessor()
Returns a Macro Processor associated with the service instance.
|
MetricsFactory |
getMetricsFactory()
Returns metrics factory for this service context.
|
Moderator |
getModerator()
Returns an Exchange Moderator associated with the context.
|
ServicePropertyType |
getPropertyType(java.lang.String property)
Returns a type of the specified property.
|
java.lang.String |
getRuntimeContextName()
Returns a name of the runtime context which this service context is hosted in.
|
SecurityManager |
getSecurityManager()
Returns a Security Manager associated with the service context.
|
ServiceConfigurationObject |
getServiceConfiguration()
Returns a Service Configuration Object of this service context.
|
java.lang.String |
getVersion()
Returns the version of the service.
|
boolean |
hasEventProperty(java.lang.String property)
Checks if the specified property exists in event which invoked the service.
|
boolean |
isContainerFor(Service service)
Checks if this service context is container for specified service.
|
java.util.List |
listActiveEvents()
Returns a list of all active event in this context.
|
java.util.List |
listEventHandlers()
Returns a list of names of all event handlers defined in this context.
|
void |
logDebug(java.lang.String debug)
Writes the specified debug info into service context Logger if logger exists and if its log mask set to DEBUG level.
|
void |
logError(java.lang.String error)
Writes the specified debug info into service context Logger if logger exists and if its log mask set to ERROR or INFO or DEBUG level.
|
void |
logInfo(java.lang.String info)
Writes the specified debug info into service context Logger if logger exists and if its log mask set to INFO or DEBUG level.
|
java.lang.Boolean |
lookupAdvancedBooleanProperty(java.lang.String property)
Returns a value of the specified advanced property of boolean type.
|
java.lang.Long |
lookupAdvancedNumericProperty(java.lang.String property)
Returns a value of the specified advanced property of numeric type.
|
java.lang.String |
lookupAdvancedTextProperty(java.lang.String property)
Returns a value of the specified advanced property of text type.
|
java.lang.Boolean |
lookupBooleanProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.BOOLEAN type. |
ClientFactory |
lookupClientFactoryProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.CLIENT_FACTORY type. |
java.lang.Double |
lookupDecimalProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.DECIMAL type. |
java.lang.String |
lookupEnumProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.ENUMERATION type. |
java.lang.String |
lookupEventCorrelationId()
Returns the
CorrelationId of event which invoked the service. |
java.lang.String |
lookupEventGroupId()
Returns the
EventGroupId of event which invoked the service. |
java.lang.String |
lookupEventKey()
Returns the
EventKey of event which invoked the service. |
java.lang.String |
lookupEventProperty(java.lang.String property)
Returns the property value of event which invoked the service.
|
JDBCFactory |
lookupJdbcFactoryProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.JDBC_FACTORY type. |
java.util.List |
lookupListProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.LIST type. |
java.lang.Long |
lookupNumericProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.NUMERIC type. |
ObjectPropertyValue |
lookupObjectProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.OBJECT type. |
java.lang.String |
lookupPasswordProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.PASSWORD type. |
java.lang.Object |
lookupProperty(java.lang.String property)
Returns a value of the specified property.
|
java.lang.String |
lookupStringProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.STRING type. |
java.util.Hashtable |
lookupTableProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.TABLE type. |
TransportFactory |
lookupTransportFactoryProperty(java.lang.String property)
Returns a value of the specified property with
ServicePropertyType.TRANSPORT_FACTORY type. |
void |
raiseAcknowledgement(AcknowledgementEvent event,
long timeToLive)
Raises the specified acknowledgement event.
|
void |
raiseAdvisory(AdvisoryEventDatagram event)
Raises a service-specific advisory event.
|
void |
raiseEvent(ImmutableEventDatagram event,
long timeToLive)
Raises a service-specific event.
|
void |
raiseException(ExceptionEventDatagram event)
Raises the specified exception event.
|
AcknowledgementEvent |
raiseRequest(EventDatagram request,
RequestDistributionStrategy distributionStrategy,
ReplyMatchStrategy matchStrategy,
long timeout)
Raises a service-specific request and blocks waiting for a reply.
|
void |
resetSuspectState(SuspectState.SuspectStateOriginator originator)
Removed specified originator from suspect state originators.
|
void |
setSuspectState(SuspectState.SuspectStateOriginator originator,
java.lang.String lastError)
Sets the service state to
ComponentState.SUSPECT . |
destroy, init, resume, start, stop, suspend
getComponentModel, getComponentReference, getContextId, getEventScope, getFabricAddress, getName, getPackageManifestManager, getSecurityContext, getType
getStartupDir, isNativeContext
getEventScope, getLogger, getState, setEventScope, setLogger
hasSinkEvents, listSinkEvents
existsActionableEvent, hasActionableEvents, listActionableEvents
existsEventTrigger, getEventTriggerData, hasEventTriggers, listEventTriggers
existsAdvisory, hasAdvisories, listAdvisories
static final java.lang.String CANCEL_NOTIFICATION
java.lang.String getRuntimeContextName()
RuntimeContext
.MetricsFactory getMetricsFactory()
StateAdvisoryFactory getAdvisoriesFactory()
EventIdentityPlugin getIdentityPlugin()
null
if it is not defined for the context.boolean existsEventHandler(java.lang.String handlerName)
handlerName
- the name of the handler.true
if the specified event handler exists, false
otherwise.EventHandler getEventHandler(java.lang.String name) throws ServiceConfigurationException
name
- the name of the handler.ServiceConfigurationException
- if the specified event handler does not exist.java.util.List listEventHandlers()
java.util.List getEventHandlers()
java.util.List listActiveEvents()
EventConsumer createEventConsumer(java.lang.String consumerName, FabricEventListener listener, java.lang.String eventFilter, java.lang.String eventSelector) throws FabricEventDispatcherException
consumerName
- the name of the consumer.listener
- the listener associated with the consumer.eventFilter
- the event filter of the consumer.eventSelector
- the event selector of the consumer.
Selector allows to specify almost any conditions on event properties which should
be satisfied for an event to be consumed.
See EventDispatcher
for details.FabricEventDispatcherException
- if some error occurs in the Exchange.EventAsyncConsumer createEventAsyncConsumer(java.lang.String consumerName, FabricEventListener listener, java.lang.String eventFilter, java.lang.String eventSelector) throws FabricEventDispatcherException
consumerName
- the name of the consumer.listener
- the listener associated with the consumer.eventFilter
- the event filter of the consumer.eventSelector
- the event selector of the consumer.
Selector allows to specify almost any conditions on event properties which should
be satisfied for an event to be consumed.
See EventDispatcher
for details.FabricEventDispatcherException
- if some error occurs in the Exchange.void dropConsumer(java.lang.String consumerName) throws FabricEventDispatcherException
consumerName
- the name of consumer to be dropped.FabricEventDispatcherException
- if the specified consumer name is invalid.void raiseAdvisory(AdvisoryEventDatagram event) throws FabricEventSourceException, FabricUnboundEventException, FabricEventException
Advisories Factory
of the service
using the Service Configuration Object.
Advisories are publicly observable by default.
event
- the advisory to be raised.FabricEventSourceException
- if some error occurs in the Exchange.FabricUnboundEventException
- if the specified event is not bound to the connection.FabricEventException
- if some error occurs during processing of the event in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).void raiseEvent(ImmutableEventDatagram event, long timeToLive) throws FabricEventSourceException, FabricEventException
Actionable Event
using the Service Configuration Object.
Events are not publicly observable by default. They are considered actionable but
not visible. Users wishing to make the event observable (thus making it available to downstream systems)
must at a minimum define an event Publishing Trigger
on the actionable event.
event
- the event to be raised.timeToLive
- the time-to-live for such an event within the Service Event Fabric.FabricEventSourceException
- if some error occurs in the Exchange.FabricEventException
- if some error occurs during processing of the event in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).void raiseException(ExceptionEventDatagram event) throws FabricEventSourceException, FabricUnboundEventException, FabricEventException
Exception are not publicly observable by default. They are considered actionable but
not visible. Users wishing to make the exception observable (thus making it available to downstream systems)
must at a minimum define an event Publishing Trigger
on the actionable event.
event
- the exception to be raised.FabricEventSourceException
- if some error occurs in the Exchange.FabricUnboundEventException
- if the specified event is not bound to the connection.FabricEventException
- if some error occurs during processing of the event in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).void raiseAcknowledgement(AcknowledgementEvent event, long timeToLive) throws FabricEventSourceException, FabricUnboundEventException, FabricEventException
event
- the event to be raised.timeToLive
- the time-to-live for such an event within the Service Event Fabric.FabricEventSourceException
- if some error occurs in the Exchange.FabricUnboundEventException
- if the specified event is not bound to the connection.FabricEventException
- if some error occurs during processing of the event in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).void acknowledgeEvent(EventDatagram event, boolean withSourceData, AcknowledgeAction action, java.lang.String recipientId, long timeToLive) throws FabricEventSourceException, FabricUnboundEventException, FabricEventException
Acknowledgement
Event
being created and raised using the event Id
specified by the ReplyTo
property of the Source Event. Such an operation occurs atomically.
All services are implicitly capable of raising acknowledgment events. Acknowledgements are publicly observable by default.
event
- the event for which the acknowledgement will be raised.withSourceData
- the flag indicating if the event data will be copied into the acknowledgement event.action
- the action which will be made after raising of the acknowledgement.recipientId
- the identifier of the acknowledgement recipient.timeToLive
- the time-to-live for such an event within the Service Event Fabric.FabricEventSourceException
- if some error occurs in the Exchange.FabricUnboundEventException
- if the specified event is not bound to the connection.FabricEventException
- if some error occurs during processing of the event in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).void acknowledgeException(ExceptionEventDatagram event, AcknowledgeAction action, java.lang.String recipientId, long timeToLive) throws FabricEventSourceException, FabricUnboundEventException, FabricEventException
Acknowledgement
Event
being created and raised using the event Id
specified by the ReplyTo
property of the Exception. Such operation occurs atomically.
All services are implicitly capable of raising acknowledgement events. Acknowledgements are publicly observable by default.
event
- the event for which the acknowledgement will be raised.action
- the action which will be made after raising of the acknowledgement.recipientId
- the identifier of the acknowledgement recipient.timeToLive
- the time-to-live for such an event within the Service Event Fabric.FabricEventSourceException
- if some error occurs in the Exchange.FabricUnboundEventException
- if the specified event is not bound to the connection.FabricEventException
- if some error occurs during processing of the event in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).void acknowledgeAndForward(EventDatagram sourceEvent, boolean withSourceData, AcknowledgeAction action, java.lang.String recipientId, long timeToLive) throws FabricEventSourceException
Acknowledgement
Event
being created and raised using the event Id
specified by the ReplyTo
property of the Source Event. It is followed by the re-raising of the original Source Event using the
event Id
specified by the ForewardTo
property of the Source Event. Such an operation
occurs atomically.
All services are implicitly capable of raising acknowledgement events. Acknowledgements are publicly observable by default. Any consumer may see the ack provided the component's scope is not local.
Event forwarding thru the use of the service API requires that the forwarding event Id
is
registered as an Actionable Event
using the Service Configuration Object.
sourceEvent
- EventDatagramwithSourceData
- booleanaction
- AcknowledgeActionrecipientId
- StringtimeToLive
- longFabricEventSourceException
AcknowledgementEvent raiseRequest(EventDatagram request, RequestDistributionStrategy distributionStrategy, ReplyMatchStrategy matchStrategy, long timeout) throws FabricEventSourceException, FabricUnboundEventException, FabricEventException
timeout
for the request and may also set
the desirable Reply Match Strategy that allows the request to be properly matched up with the response.
Requests are not publicly observable by default. They are considered actionable but
not visible. Users wishing to make the event observable (thus making it available to responders)
must at a minimum define an event Publishing Trigger
on the actionable event.
The request may implicitly make use of several event matching strategies. Using a ReplyTo
identifier is possible as well as further narrowing of the scope by a correlation Id
.
request
- the request to be raised.distributionStrategy
- the strategy used for a distribution of the request.matchStrategy
- the strategy used for a matching of the reply.timeout
- the waiting time for reply (in milliseconds).FabricEventSourceException
- if some error occurs in the Exchange.FabricUnboundEventException
- if the specified event is not bound to the connection.FabricEventException
- if some error occurs during processing of the request in the listener.
This exception won't be raised for asynchronous listeners (EventAsyncConsumer
).DataspaceAccessor createDataspaceAccessor(DataspaceType dataspaceType, java.lang.String dataspaceName) throws FabricComponentAccessorException
createDataspaceAccessor(null, dataspaceType, dataspaceName)
.dataspaceType
- the type of the dataspace to which the accessor will be created.dataspaceName
- the name of the dataspace to which the accessor will be created.FabricComponentAccessorException
- if some error occurs during creation of the accessor.DataspaceAccessor createDataspaceAccessor(java.lang.String nodeName, DataspaceType dataspaceType, java.lang.String dataspaceName) throws FabricComponentAccessorException
nodeName
- the node name in which the dataspace will be looked up.dataspaceType
- the type of a dataspace to which the accessor will be created.dataspaceName
- the name of a dataspace to which the accessor will be created.FabricComponentAccessorException
- if some error occurs during creation of the accessor.ServiceAccessor createServiceAccessor(java.lang.String serviceType, java.lang.String serviceName) throws FabricComponentAccessorException
createServiceAccessor(null, serviceType, serviceName)
.serviceType
- the type of the service to which the accessor will be created.serviceName
- the name of the service to which the accessor will be created.FabricComponentAccessorException
- if some error occurs during creation of the accessor.ServiceAccessor createServiceAccessor(java.lang.String nodeName, java.lang.String serviceType, java.lang.String serviceName) throws FabricComponentAccessorException
nodeName
- the node name in which the service will be looked up.serviceType
- the type of the service to which the accessor will be created.serviceName
- the name of the service to which the accessor will be created.FabricComponentAccessorException
- if some error occurs during creation of the accessor.void setSuspectState(SuspectState.SuspectStateOriginator originator, java.lang.String lastError)
ComponentState.SUSPECT
.void resetSuspectState(SuspectState.SuspectStateOriginator originator)
boolean existsProperty(java.lang.String property)
property
- the name of the property.true
if the specified property exists, false
otherwise.java.lang.String lookupStringProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.STRING
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.String lookupEnumProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.ENUMERATION
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.String lookupPasswordProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.PASSWORD
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.Boolean lookupBooleanProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.BOOLEAN
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.Long lookupNumericProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.NUMERIC
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.Double lookupDecimalProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.DECIMAL
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.util.List lookupListProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.LIST
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.util.Hashtable lookupTableProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.TABLE
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.ObjectPropertyValue lookupObjectProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.OBJECT
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.JDBCFactory lookupJdbcFactoryProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.JDBC_FACTORY
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.TransportFactory lookupTransportFactoryProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.TRANSPORT_FACTORY
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.ClientFactory lookupClientFactoryProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.CLIENT_FACTORY
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.boolean existsAdvancedProperty(java.lang.String property)
property
- the name of the property.true
if the specified advanced property exists, false
otherwise.java.lang.String lookupAdvancedTextProperty(java.lang.String property) throws ServiceConfigurationException
property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.Long lookupAdvancedNumericProperty(java.lang.String property) throws ServiceConfigurationException
property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.Boolean lookupAdvancedBooleanProperty(java.lang.String property) throws ServiceConfigurationException
property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist or
if the found property has another type.java.lang.Object lookupProperty(java.lang.String property) throws ServiceConfigurationException
ServicePropertyType.OTHER
type.property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist.ServicePropertyType getPropertyType(java.lang.String property) throws ServiceConfigurationException
property
- the name of the property.ServiceConfigurationException
- if the specified property does not exist.boolean hasEventProperty(java.lang.String property) throws ServiceConfigurationException
property
- the name of the property.true
if the specified property exists, false
otherwise.ServiceConfigurationException
- if the specified name is invalid.java.lang.String lookupEventProperty(java.lang.String property) throws ServiceConfigurationException
property
- the name of the property.ServiceConfigurationException
- if the specified name is invalid or
if the found property has non-string type.java.lang.String lookupEventCorrelationId()
CorrelationId
of event which invoked the service.property
- String name of the propertyCorrelationId
of the current event.java.lang.String lookupEventKey()
EventKey
of event which invoked the service.property
- String name of the propertyEventKey
of the current event.java.lang.String lookupEventGroupId()
EventGroupId
of event which invoked the service.property
- String name of the propertyEventGroupId
of the current event.ImmutableEventDatagram createResponseEvent(java.lang.String methodName) throws ServiceConfigurationException
methodName
- the name of the Event Handler method.ServiceConfigurationException
- if some error occurs.void cancel() throws ServiceContextException
ServiceConfigurationException
- if some error occurs.ServiceContextException
boolean isContainerFor(Service service)
service
- the service to be checked.true
if the context is container for specified service, false
otherwise.ServiceConfigurationObject getServiceConfiguration()
Moderator getModerator()
SecurityManager getSecurityManager() throws SecurityManagerException
SecurityManagerException
- if the security is disabled in the Fabric.Connection getJDBCConnection(java.lang.String dataspaceName) throws SQLException
SQLException
- if some error occurs.MacroProcessor getMacroProcessor()
void logDebug(java.lang.String debug)
debug
- the information to be logged.void logInfo(java.lang.String info)
info
- the information to be logged.void logError(java.lang.String error)
error
- the information to be logged.java.lang.String getVersion()
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.