Modifier and Type | Method and Description |
---|---|
void |
ComponentFactory.check(org.apache.felix.ipojo.metadata.Element element)
Allows a factory to check if the given element is well-formed.
|
void |
InstanceManager.configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configures the instance manager.
|
abstract void |
Handler.configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configures the handler.
|
ComponentInstance |
IPojoFactory.createComponentInstance(java.util.Dictionary configuration)
Creates an instance.
|
ComponentInstance |
Factory.createComponentInstance(java.util.Dictionary configuration)
Creates an instance manager (i.e.
|
ComponentInstance |
IPojoFactory.createComponentInstance(java.util.Dictionary configuration,
ServiceContext serviceContext)
Creates an instance in the specified service context.
|
ComponentInstance |
Factory.createComponentInstance(java.util.Dictionary configuration,
ServiceContext serviceContext)
Creates an instance manager (i.e.
|
abstract ComponentInstance |
IPojoFactory.createInstance(java.util.Dictionary config,
IPojoContext context,
HandlerManager[] handlers)
Creates an instance.
|
ComponentInstance |
HandlerManagerFactory.createInstance(java.util.Dictionary configuration,
IPojoContext context,
HandlerManager[] handlers)
Creates an instance.
|
ComponentInstance |
ComponentFactory.createInstance(java.util.Dictionary config,
IPojoContext context,
HandlerManager[] handlers)
Creates a primitive instance.
|
protected HandlerManager |
IPojoFactory.getHandler(IPojoFactory.RequiredHandler req,
ServiceContext context)
Returns the handler object for the given required handler.
|
abstract java.util.List<IPojoFactory.RequiredHandler> |
IPojoFactory.getRequiredHandlerList()
Computes the required handler list.
|
void |
HandlerManager.init(ComponentInstance instance,
org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Creates and initializes the handler object.
|
void |
Handler.initializeComponentFactory(ComponentTypeDescription typeDesc,
org.apache.felix.ipojo.metadata.Element metadata)
Initializes the component factory.
|
void |
InstanceManager.register(int index,
ConstructorInjector injector)
Registers a constructor injector.
|
Constructor and Description |
---|
ComponentFactory(org.osgi.framework.BundleContext context,
byte[] clazz,
org.apache.felix.ipojo.metadata.Element element)
Creates a instance manager factory.
|
ComponentFactory(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element element)
Creates a instance manager factory.
|
HandlerManagerFactory(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element metadata)
Creates a handler factory.
|
IPojoFactory(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element metadata)
Creates an iPOJO Factory.
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigurationHandler.configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configures the handler.
|
void |
ConfigurationHandler.initializeComponentFactory(ComponentTypeDescription desc,
org.apache.felix.ipojo.metadata.Element metadata)
Initialize the component type.
|
Modifier and Type | Method and Description |
---|---|
void |
BundleContextHandler.configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configures the handler.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Dependency.addConstructorInjection(int index) |
void |
DependencyHandler.configure(org.apache.felix.ipojo.metadata.Element componentMetadata,
java.util.Dictionary configuration)
Configure the handler.
|
static void |
DependencyConfigurationChecker.ensure(Dependency dependency,
org.apache.felix.ipojo.metadata.Element metadata,
PojoMetadata manipulation) |
Modifier and Type | Method and Description |
---|---|
void |
LifecycleCallbackHandler.configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configure the handler.
|
Modifier and Type | Method and Description |
---|---|
void |
ControllerHandler.configure(org.apache.felix.ipojo.metadata.Element metadata,
java.util.Dictionary configuration)
Configure method.
|
void |
ControllerHandler.initializeComponentFactory(ComponentTypeDescription desc,
org.apache.felix.ipojo.metadata.Element metadata)
Initialize the component factory.
|
Modifier and Type | Method and Description |
---|---|
void |
ProvidedServiceHandler.configure(org.apache.felix.ipojo.metadata.Element componentMetadata,
java.util.Dictionary configuration)
Configure the handler.
|
void |
ProvidedServiceHandler.initializeComponentFactory(ComponentTypeDescription desc,
org.apache.felix.ipojo.metadata.Element metadata)
Initialize the component type.
|
Constructor and Description |
---|
PojoMetadata(org.apache.felix.ipojo.metadata.Element metadata)
Creates Pojo metadata.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
Property.computeType(java.lang.String type,
org.osgi.framework.BundleContext context)
Computes and returns the property type according to the given type name.
|
static java.lang.Object |
Property.create(java.lang.Class type,
java.lang.String strValue)
Creates an object of the given type with the given String value.
|
static java.lang.Object |
Property.createArrayObject(java.lang.Class interntype,
java.lang.String[] values)
Creates an array object containing the type component type from
the String array 'values'.
|
static java.util.Comparator |
DependencyMetadataHelper.getComparator(org.apache.felix.ipojo.metadata.Element dep,
org.osgi.framework.BundleContext context)
Helper method parsing the comparator attribute and returning the
comparator object.
|
static int |
DependencyMetadataHelper.getPolicy(org.apache.felix.ipojo.metadata.Element dep)
Helper method parsing the binding policy.
|
static java.lang.Class |
DependencyMetadataHelper.loadSpecification(java.lang.String specification,
org.osgi.framework.BundleContext context)
Loads the given specification class.
|
Constructor and Description |
---|
Property(java.lang.String name,
java.lang.String field,
java.lang.String method,
int index,
java.lang.String value,
java.lang.String type,
InstanceManager manager,
Handler handler) |
Property(java.lang.String name,
java.lang.String field,
java.lang.String method,
java.lang.Object value,
InstanceManager manager,
Handler handler)
Creates a property.
|
Property(java.lang.String name,
java.lang.String field,
java.lang.String method,
java.lang.String value,
java.lang.String type,
InstanceManager manager,
Handler handler)
Creates a property.
|
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.