|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.ipojo.InstanceCreator
public class InstanceCreator
An instance creator aims to create instances and to track their factories. It's allow to create instance from outside factories.
| Constructor Summary | |
|---|---|
InstanceCreator(org.osgi.framework.BundleContext context)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addFactory(IPojoFactory factory)
A new factory appears. |
void |
stateChanged(Factory factory,
int newState)
Factory state changed method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceCreator(org.osgi.framework.BundleContext context)
context - : iPOJO bundle context.| Method Detail |
|---|
public void addFactory(IPojoFactory factory)
factory - : the new factory.
public void stateChanged(Factory factory,
int newState)
stateChanged in interface FactoryStateListenerfactory - : factory.newState - : new state.FactoryStateListener.stateChanged(org.apache.felix.ipojo.Factory, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||