Class PropExtenderFactory


  • public final class PropExtenderFactory
    extends java.lang.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
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static IPropExtender createPropExtender()
      Creates a new instance of the extender.
      static void register​(java.lang.Class<? extends IPropExtender> cls)
      Registers the class to use for the Extends Framework.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropExtenderFactory

        public PropExtenderFactory()
    • 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.