public interface IExternalAccess extends INFPropertyProvider
Modifier and Type | Method and Description |
---|---|
IFuture<IComponentIdentifier> |
createChild(ComponentInstanceInfo component)
Create a subcomponent.
|
IFuture<Map<String,Object>> |
getArguments()
Get the arguments.
|
IFuture<IComponentIdentifier[]> |
getChildren(String type)
Get the children (if any) component identifiers.
|
IComponentIdentifier |
getComponentIdentifier()
Get the id of the component.
|
IFuture<IExtensionInstance> |
getExtension(String name)
Get a space of the application.
|
IFuture<String> |
getFileName(String ctype)
Get the model name of a component type.
|
String |
getLocalType()
Get the local type name of this component as defined in the parent.
|
IModelInfo |
getModel()
Get the model of the component.
|
IFuture<Map<String,Object>> |
getResults()
Get the component results.
|
IServiceProvider |
getServiceProvider()
Get the service provider.
|
IFuture<Map<String,Object>> |
killComponent()
Kill the component.
|
<T> IFuture<T> |
scheduleImmediate(IComponentStep<T> step)
Execute some code on the component's thread.
|
<T> IFuture<T> |
scheduleImmediate(IComponentStep<T> step,
long delay)
Execute some code on the component's thread.
|
<T> IFuture<T> |
scheduleStep(IComponentStep<T> step)
Schedule a step of the component.
|
<T> IFuture<T> |
scheduleStep(IComponentStep<T> step,
long delay)
Schedule a step of the component.
|
ISubscriptionIntermediateFuture<IMonitoringEvent> |
subscribeToEvents(IFilter<IMonitoringEvent> filter,
boolean initial,
IMonitoringService.PublishEventLevel elm)
Subscribe to component events.
|
addNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, removeNFProperty, shutdownNFPropertyProvider
IModelInfo getModel()
IComponentIdentifier getComponentIdentifier()
IServiceProvider getServiceProvider()
<T> IFuture<T> scheduleStep(IComponentStep<T> step)
step
- Code to be executed as a step of the component.<T> IFuture<T> scheduleImmediate(IComponentStep<T> step)
action
- Code to be executed on the component's thread.<T> IFuture<T> scheduleStep(IComponentStep<T> step, long delay)
step
- Code to be executed as a step of the component.delay
- The delay to wait before step should be done.<T> IFuture<T> scheduleImmediate(IComponentStep<T> step, long delay)
action
- Code to be executed on the component's thread.delay
- The delay to wait before step should be done.IFuture<IComponentIdentifier> createChild(ComponentInstanceInfo component)
component
- The instance info.IFuture<IComponentIdentifier[]> getChildren(String type)
IFuture<String> getFileName(String ctype)
ctype
- The component type.String getLocalType()
ISubscriptionIntermediateFuture<IMonitoringEvent> subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
filter
- An optional filter.initial
- True, for receiving the current state.IFuture<IExtensionInstance> getExtension(String name)
name
- The name of the space.Copyright © 2013. All Rights Reserved.