Package org.exoplatform.container
Class PropertyManagerManaged
- java.lang.Object
-
- org.exoplatform.container.PropertyManagerManaged
-
- All Implemented Interfaces:
Startable
public class PropertyManagerManaged extends Object implements Startable
A management facade for thePropertyManagerstatic 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
Constructors Constructor Description PropertyManagerManaged()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProperty(String propertyName)static booleangetUseCache()booleanisDevelopping()static voidrefresh()static voidsetProperty(String propertyName, String propertyValue)voidstart()Start this component.voidstop()Stop this component.
-
-
-
Method Detail
-
isDevelopping
public boolean isDevelopping()
-
getUseCache
public static boolean getUseCache()
-
refresh
public static void refresh()
-
start
public void start()
Description copied from interface:StartableStart this component. Called initially at the begin of the lifecycle. It can be called again after a stop.
-
stop
public void stop()
Description copied from interface:StartableStop this component. Called near the end of the lifecycle. It can be called again after a further start. ImplementDisposableif you need a single call at the definite end of the lifecycle.
-
-