ComponentFactory.ClassInfo
This class collects all information about the components class:
- the constructor to use
- the parameters to pass into the constructor
- Additional infos about implemented methods

newInstance()
Returns a new instance of a component and optionally applies a logging channel,
instrumentation, context, a component or service manager, configuration, parameters,
lifecycle extensions, initialization, and execution phases based on the interfaces
implemented by the component class.

componentClass - the class to instantiate (must have a default constructor).

configuration - the Configuration object to pass to new instances.

serviceManager - the service manager to pass to Serviceables.

context - the Context to pass to Contexutalizables.

loggerManager - the loggerManager manager instance.

Method Detail

newInstance

public java.lang.Object newInstance()
throws java.lang.Exception

Returns a new instance of a component and optionally applies a logging channel,
instrumentation, context, a component or service manager, configuration, parameters,
lifecycle extensions, initialization, and execution phases based on the interfaces
implemented by the component class.