Prototype
When the scope is defined to prototype, ElementFactory creates a new instance on every invocation of getElement(String id).
The following diagram shows how prototype scope works:
Following is a sample definition for the prototype scope:
<mypackage.SimpleElement id="aSimpleElement" Scope="prototype"/>
Go up to