|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.ipojo.IPojoFactory
org.ow2.shelbie.core.internal.extension.CommandFactory
public class CommandFactory
command @action
completer @component {multiple}
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.felix.ipojo.IPojoFactory |
|---|
org.apache.felix.ipojo.IPojoFactory.RequiredHandler |
| Field Summary |
|---|
| Fields inherited from class org.apache.felix.ipojo.IPojoFactory |
|---|
INSTANCE_NAME, m_componentDesc, m_componentInstances, m_componentMetadata, m_context, m_factoryName, m_isPublic, m_listeners, m_logger, m_requiredHandlers, m_sr, m_state, m_version |
| Fields inherited from interface org.apache.felix.ipojo.Factory |
|---|
FACTORY_VERSION_PROPERTY, INSTANCE_NAME_PROPERTY, INVALID, VALID |
| Constructor Summary | |
|---|---|
CommandFactory(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element metadata)
Creates an iPOJO Factory. |
|
| Method Summary | |
|---|---|
void |
addedFactory(org.apache.felix.ipojo.Factory factory)
|
void |
addedService(org.osgi.framework.ServiceReference reference)
|
boolean |
addingService(org.osgi.framework.ServiceReference reference)
|
org.apache.felix.ipojo.ComponentInstance |
createInstance(Dictionary config,
org.apache.felix.ipojo.IPojoContext context,
org.apache.felix.ipojo.HandlerManager[] handlers)
Creates an instance. |
String |
getClassName()
Gets the factory class name. |
org.apache.felix.ipojo.metadata.Element |
getDescription()
|
String |
getFactoryName()
Computes the factory name. |
List |
getRequiredHandlerList()
Computes the required handler list. |
String |
getVersion()
Gets the version of the component type. |
void |
modifiedService(org.osgi.framework.ServiceReference reference,
Object service)
|
void |
removedFactory(org.apache.felix.ipojo.Factory factory)
|
void |
removedService(org.osgi.framework.ServiceReference reference,
Object service)
|
void |
starting()
Starting method. |
void |
stopping()
Stopping method. |
| Methods inherited from class org.apache.felix.ipojo.IPojoFactory |
|---|
addFactoryStateListener, checkAcceptability, computeDescription, computeFactoryState, createComponentInstance, createComponentInstance, deleted, dispose, disposed, getBundleContext, getComponentDescription, getComponentMetadata, getComponentTypeDescription, getHandler, getInstanceByName, getIPOJOBundleContext, getLogger, getMissingHandlers, getName, getRequiredHandlers, getState, isAcceptable, match, reconfigure, removeFactoryStateListener, restart, start, stop, updated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommandFactory(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element metadata)
throws org.apache.felix.ipojo.ConfigurationException
context - the bundle context of the bundle containing the factory.metadata - the description of the component type.
org.apache.felix.ipojo.ConfigurationException - if the element describing the factory is malformed.| Method Detail |
|---|
public String getFactoryName()
getFactoryName in class org.apache.felix.ipojo.IPojoFactorypublic org.apache.felix.ipojo.metadata.Element getDescription()
getDescription in interface org.apache.felix.ipojo.FactorygetDescription in class org.apache.felix.ipojo.IPojoFactorypublic List getRequiredHandlerList()
getRequiredHandlerList in class org.apache.felix.ipojo.IPojoFactory
public org.apache.felix.ipojo.ComponentInstance createInstance(Dictionary config,
org.apache.felix.ipojo.IPojoContext context,
org.apache.felix.ipojo.HandlerManager[] handlers)
throws org.apache.felix.ipojo.ConfigurationException
createInstance in class org.apache.felix.ipojo.IPojoFactoryconfig - the instance configurationcontext - the iPOJO context to usehandlers - the handler array to use
org.apache.felix.ipojo.ConfigurationException - if the instance creation failed during the configuration process.public String getClassName()
getClassName in interface org.apache.felix.ipojo.FactorygetClassName in class org.apache.felix.ipojo.IPojoFactoryFactory.getClassName()public String getVersion()
getVersion in interface org.apache.felix.ipojo.Factorynull if
not specified.public void stopping()
stopping in class org.apache.felix.ipojo.IPojoFactorypublic void starting()
starting in class org.apache.felix.ipojo.IPojoFactorypublic boolean addingService(org.osgi.framework.ServiceReference reference)
addingService in interface org.apache.felix.ipojo.util.TrackerCustomizerpublic void addedService(org.osgi.framework.ServiceReference reference)
addedService in interface org.apache.felix.ipojo.util.TrackerCustomizerpublic void addedFactory(org.apache.felix.ipojo.Factory factory)
public void modifiedService(org.osgi.framework.ServiceReference reference,
Object service)
modifiedService in interface org.apache.felix.ipojo.util.TrackerCustomizer
public void removedService(org.osgi.framework.ServiceReference reference,
Object service)
removedService in interface org.apache.felix.ipojo.util.TrackerCustomizerpublic void removedFactory(org.apache.felix.ipojo.Factory factory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||