org.exoplatform.container
Class PropertyManagerManaged

java.lang.Object
  extended by org.exoplatform.container.PropertyManagerManaged
All Implemented Interfaces:
org.picocontainer.Startable

public class PropertyManagerManaged
extends Object
implements org.picocontainer.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 Summary
PropertyManagerManaged()
           
 
Method Summary
 String getProperty(String propertyName)
           
static boolean getUseCache()
           
 boolean isDevelopping()
           
static void refresh()
           
static void setProperty(String propertyName, String propertyValue)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()
Specified by:
start in interface org.picocontainer.Startable

stop

public void stop()
Specified by:
stop in interface org.picocontainer.Startable


Copyright © 2009 eXo Platform SAS. All Rights Reserved.