Class PropExtenderFactory

java.lang.Object
com.iizix.prop.PropExtenderFactory

public final class PropExtenderFactory extends Object
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 Details

    • PropExtenderFactory

      public PropExtenderFactory()
  • Method Details

    • register

      public static void register(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:
      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.