Package com.iizix.prop
Class PropExtenderFactory
java.lang.Object
com.iizix.prop.PropExtenderFactory
The factory that creates an instance of the Property Extender in the Extends Framework.
Only the Designer registers the capability with a valid instance, the Server or Client registers with a capability with a null instance in order to disable the Extends Framework.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionstatic IPropExtender
Creates a new instance of the extender.static void
register
(Class<? extends IPropExtender> cls) Registers the class to use for the Extends Framework.
Constructor Details
PropExtenderFactory
public PropExtenderFactory()
Method Details
register
Registers the class to use for the Extends Framework. This method may only be called once.- Parameters:
cls
- The class to use, null to disable.- Throws:
InternalError
- If called twice.
createPropExtender
Creates a new instance of the extender.- Returns:
- The new instance, or null if the Extends Framework is disabled.