public interface IExternalAccess
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
addComponentListener(IComponentListener listener)
Add an component listener.
|
IFuture<Map<String,Object>> |
getArguments()
Get the arguments.
|
IFuture<IComponentIdentifier[]> |
getChildren()
Get the children (if any) component identifiers.
|
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.
|
IFuture<Void> |
removeComponentListener(IComponentListener listener)
Remove a component listener.
|
<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.
|
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[]> getChildren()
IFuture<IComponentIdentifier[]> getChildren(String type)
IFuture<String> getFileName(String ctype)
ctype
- The component type.String getLocalType()
IFuture<Void> addComponentListener(IComponentListener listener)
listener
- The listener.IFuture<Void> removeComponentListener(IComponentListener listener)
listener
- The listener.IFuture<IExtensionInstance> getExtension(String name)
name
- The name of the space.Copyright © 2012. All Rights Reserved.