Class PropertyManagerManaged

  • All Implemented Interfaces:
    Startable

    public class PropertyManagerManaged
    extends Object
    implements Startable
    A management facade for the PropertyManager static methods. The object does implement the startable interface in order to trigger pico container eager initialization otherwise it would not appear in the mbean server until someone access it but as no one is accessing it it would never appear.
    Version:
    $Revision$
    Author:
    Julien Viet
    • Constructor Detail

      • PropertyManagerManaged

        public PropertyManagerManaged()
    • Method Detail

      • getProperty

        public String getProperty​(String propertyName)
      • isDevelopping

        public boolean isDevelopping()
      • setProperty

        public static void setProperty​(String propertyName,
                                       String propertyValue)
      • getUseCache

        public static boolean getUseCache()
      • refresh

        public static void refresh()
      • start

        public void start()
        Description copied from interface: Startable
        Start this component. Called initially at the begin of the lifecycle. It can be called again after a stop.
        Specified by:
        start in interface Startable
      • stop

        public void stop()
        Description copied from interface: Startable
        Stop this component. Called near the end of the lifecycle. It can be called again after a further start. Implement Disposable if you need a single call at the definite end of the lifecycle.
        Specified by:
        stop in interface Startable