public interface IComponentInstance
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
cleanupComponent()
Can be called concurrently (also during executeAction()).
|
IFuture<Void> |
componentCreated(IComponentDescription desc,
IModelInfo model)
Called when a component has been created as a subcomponent of this component.
|
IFuture<Void> |
componentDestroyed(IComponentDescription desc)
Called when a subcomponent of this component has been destroyed.
|
boolean |
executeStep()
Can be called on the component thread only.
|
ClassLoader |
getClassLoader()
Get the class loader of the component.
|
IExternalAccess |
getExternalAccess()
Can be called concurrently (also during executeAction()).
|
Object |
getProperty(String name)
Get a property of the component.
|
Map<String,Object> |
getResults()
Get the results of the component (considering it as a functionality).
|
IServiceContainer |
getServiceContainer()
Create the service container.
|
boolean |
isAtBreakpoint(String[] breakpoints)
Test if the component's execution is currently at one of the
given breakpoints.
|
boolean |
isExternalThread()
Check if the external thread is accessing.
|
void |
messageArrived(IMessageAdapter message)
Can be called concurrently (also during executeAction()).
|
void |
startBehavior()
Start the behavior of a component.
|
void |
streamArrived(IConnection con)
Can be called concurrently (also during executeAction()).
|
boolean executeStep()
void messageArrived(IMessageAdapter message)
message
- The message that arrived.void streamArrived(IConnection con)
con
- The stream that arrived.IFuture<Void> componentCreated(IComponentDescription desc, IModelInfo model)
desc
- The newly created component.model
- The model of the newly created component.IFuture<Void> componentDestroyed(IComponentDescription desc)
desc
- The destroyed component.IFuture<Void> cleanupComponent()
IExternalAccess getExternalAccess()
ClassLoader getClassLoader()
Map<String,Object> getResults()
Object getProperty(String name)
name
- The property name.boolean isAtBreakpoint(String[] breakpoints)
breakpoints
- An array of breakpoints.IServiceContainer getServiceContainer()
void startBehavior()
boolean isExternalThread()
Copyright © 2012. All Rights Reserved.