public interface IComponentInstance
Modifier and Type | Method and Description |
---|---|
IFuture |
cleanupComponent()
Can be called concurrently (also during executeAction()).
|
IFuture |
componentCreated(IComponentDescription desc,
IModelInfo model)
Called when a component has been created as a subcomponent of this component.
|
IFuture |
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 |
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.
|
void |
messageArrived(IMessageAdapter message)
Can be called concurrently (also during executeAction()).
|
void |
startBehavior()
Start the behavior of a component.
|
boolean executeStep()
void messageArrived(IMessageAdapter message)
message
- The message that arrived.IFuture componentCreated(IComponentDescription desc, IModelInfo model)
comp
- The newly created component.IFuture componentDestroyed(IComponentDescription desc)
comp
- The destroyed component.IFuture cleanupComponent()
IExternalAccess getExternalAccess()
ClassLoader getClassLoader()
Map getResults()
Object getProperty(String name)
name
- The property name.boolean isAtBreakpoint(String[] breakpoints)
breakpoints
- An array of breakpoints.IServiceContainer getServiceContainer()
void startBehavior()
Copyright © 2012. All Rights Reserved.