|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComponentFactory
When a component is declared with the factory
attribute on its
component
element, the Service Component Runtime will register
a Component Factory service to allow new component configurations to be
created and activated rather than automatically creating and activating
component configuration as necessary.
Method Summary | |
---|---|
ComponentInstance |
newInstance(java.util.Dictionary properties)
Create and activate a new component configuration. |
Method Detail |
---|
ComponentInstance newInstance(java.util.Dictionary properties)
properties
- Additional properties for the component configuration
or null
if there are no additional properties.
ComponentInstance
object encapsulating the
component instance of the component configuration. The component
configuration has been activated and, if the component specifies
a service
element, the component instance has been
registered as a service.
ComponentException
- If the Service Component Runtime is unable to
activate the component configuration.
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |