|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.dsrg.sofa.microarchitecture.ComponentFactory
public class ComponentFactory
Static class used to instanciate component instance.
Constructor Summary | |
---|---|
ComponentFactory()
|
Method Summary | |
---|---|
static MIComponent |
createComponent(Architecture arch,
Frame frame,
java.lang.Iterable<Aspect> aspects,
java.lang.Iterable<Bindable> units)
Creates new instance of specified component and returns reference to its control interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentFactory()
Method Detail |
---|
public static MIComponent createComponent(Architecture arch, Frame frame, java.lang.Iterable<Aspect> aspects, java.lang.Iterable<Bindable> units) throws InstantiationException
arch
- Architecture of the component instance to instantiate.frame
- Frame which the instance should implement.aspects
- Aspects to apply on created component.units
- Code fragments to connect on business interfaces. Can be null
if the component is not composite and have no business interfaces.
InstantiationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |