S
- Type of Servicepublic interface ComponentFactory<S>
factory
attribute on its
component
element, 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.Modifier and Type | Method and Description |
---|---|
ComponentInstance<S> |
newInstance(java.util.Dictionary<java.lang.String,?> properties)
Create and activate a new component configuration.
|
ComponentInstance<S> newInstance(java.util.Dictionary<java.lang.String,?> 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 Service Component Runtime is unable to
activate the component configuration."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"