Interface Instantiator
public interface Instantiator
An object that can instantiate a component. This is now largely a wrapper around
ClassInstantiator
.-
Method Summary
Modifier and TypeMethodDescriptiongetModel()
Returns the model that defines the behavior of the component.newInstance
(InternalComponentResources resources) Instantiates and returns a new instance of the desired class.
-
Method Details
-
newInstance
Instantiates and returns a new instance of the desired class. Component classes are always modified so that they implementComponent
(and often, other interfaces as well). The resources are made available in theInstanceContext
as bothComponentResources
andInternalComponentResources
. -
getModel
Returns the model that defines the behavior of the component.
-