jadex.standalone
Class ComponentAdapterFactory
java.lang.Object
jadex.standalone.ComponentAdapterFactory
- All Implemented Interfaces:
- IComponentAdapterFactory
public class ComponentAdapterFactory
- extends Object
- implements IComponentAdapterFactory
Standalone version of the adapter factory.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentAdapterFactory
public ComponentAdapterFactory()
createComponentAdapter
public IComponentAdapter createComponentAdapter(IComponentDescription desc,
IModelInfo model,
IComponentInstance instance,
IExternalAccess parent)
- Create a component adapter for a component instance.
- Specified by:
createComponentAdapter in interface IComponentAdapterFactory
- Parameters:
desc - The component description.model - The component model.instance - The component instance.parent - The external access of the component's parent.
- Returns:
- The component adapter.
executeStep
public boolean executeStep(IComponentAdapter adapter)
- Execute a step of the component via triggering the adapter.
- Specified by:
executeStep in interface IComponentAdapterFactory
- Parameters:
adapter - The component adapter.
- Returns:
- true, if component wants to be executed again.
Copyright © 2010. All Rights Reserved.