|
||||||||||
| 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
The instance creator creates instances and tracks their factories. It allows creating instances from external factories.
| Constructor Summary | |
|---|---|
InstanceCreator(BundleContext context)
Creates the instance creator. |
|
| Method Summary | |
|---|---|
void |
addFactory(IPojoFactory factory)
This method is called when a factory appears. |
void |
stateChanged(Factory factory,
int newState)
This method is called when the state of a factory changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstanceCreator(BundleContext context)
context - the bundle context of the iPOJO bundle.| Method Detail |
|---|
public void addFactory(IPojoFactory factory)
factory - the new factory.
public void stateChanged(Factory factory,
int newState)
stateChanged in interface FactoryStateListenerfactory - the factory.newState - the 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 | |||||||||