public interface IInternalAccess
Modifier and Type | Method and Description |
---|---|
<T> IIntermediateResultListener<T> |
createResultListener(IIntermediateResultListener<T> listener)
Create a result listener that is executed on the
component thread.
|
<T> IResultListener<T> |
createResultListener(IResultListener<T> listener)
Create a result listener that is executed on the
component thread.
|
Map<String,Object> |
getArguments()
Get the arguments.
|
ClassLoader |
getClassLoader()
Get the class loader of the component.
|
IComponentDescription |
getComponentDescription()
Get the component description.
|
IComponentIdentifier |
getComponentIdentifier()
Get the id of the component.
|
String |
getConfiguration()
Get the configuration.
|
IExternalAccess |
getExternalAccess()
Get the external access.
|
IValueFetcher |
getFetcher()
Get the fetcher.
|
Logger |
getLogger()
Get the logger.
|
IModelInfo |
getModel()
Get the model of the component.
|
IExternalAccess |
getParentAccess()
Get the parent access (if any).
|
Map<String,Object> |
getResults()
Get the component results.
|
IServiceContainer |
getServiceContainer()
Get the service provider.
|
boolean |
hasEventTargets(IMonitoringService.PublishTarget pt,
IMonitoringService.PublishEventLevel pi)
Check if event targets exist.
|
boolean |
isComponentThread()
Test if current thread is the component thread.
|
IFuture<Map<String,Object>> |
killComponent()
Kill the component.
|
IFuture<Void> |
publishEvent(IMonitoringEvent event,
IMonitoringService.PublishTarget pt)
Publish a monitoring event.
|
void |
setResultValue(String name,
Object value)
Set a result value.
|
ISubscriptionIntermediateFuture<IMonitoringEvent> |
subscribeToEvents(IFilter<IMonitoringEvent> filter,
boolean initial,
IMonitoringService.PublishEventLevel elm)
Subscribe to component events.
|
IFuture<Void> |
waitForDelay(long delay)
Wait for some time.
|
IFuture<Void> |
waitForDelay(long delay,
boolean realtime)
Wait for some time.
|
<T> IFuture<T> |
waitForDelay(long delay,
IComponentStep<T> step)
Wait for some time and execute a component step afterwards.
|
<T> IFuture<T> |
waitForDelay(long delay,
IComponentStep<T> step,
boolean realtime)
Wait for some time and execute a component step afterwards.
|
IModelInfo getModel()
String getConfiguration()
IExternalAccess getParentAccess()
IComponentIdentifier getComponentIdentifier()
IComponentDescription getComponentDescription()
IServiceContainer getServiceContainer()
<T> IResultListener<T> createResultListener(IResultListener<T> listener)
<T> IIntermediateResultListener<T> createResultListener(IIntermediateResultListener<T> listener)
IExternalAccess getExternalAccess()
Logger getLogger()
IValueFetcher getFetcher()
void setResultValue(String name, Object value)
name
- The result name.value
- The result value.ClassLoader getClassLoader()
<T> IFuture<T> waitForDelay(long delay, IComponentStep<T> step, boolean realtime)
<T> IFuture<T> waitForDelay(long delay, IComponentStep<T> step)
boolean isComponentThread()
ISubscriptionIntermediateFuture<IMonitoringEvent> subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
filter
- An optional filter.initial
- True, for receiving the current state.IFuture<Void> publishEvent(IMonitoringEvent event, IMonitoringService.PublishTarget pt)
boolean hasEventTargets(IMonitoringService.PublishTarget pt, IMonitoringService.PublishEventLevel pi)
Copyright © 2013. All Rights Reserved.