Package com.iizix.prop
Class PropExtenderFactory
- java.lang.Object
- com.iizix.prop.PropExtenderFactory
public final class PropExtenderFactory extends java.lang.ObjectThe 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
Constructors Constructor Description PropExtenderFactory()
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPropExtendercreatePropExtender()Creates a new instance of the extender.static voidregister(java.lang.Class<? extends IPropExtender> cls)Registers the class to use for the Extends Framework.
Method Detail
register
public static void register(java.lang.Class<? extends IPropExtender> cls)
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:
java.lang.InternalError- If called twice.
createPropExtender
public static IPropExtender createPropExtender()
Creates a new instance of the extender.- Returns:
- The new instance, or null if the Extends Framework is disabled.