Class JcrConfigServiceFactory
- java.lang.Object
-
- org.hippoecm.frontend.plugin.config.impl.JcrConfigServiceFactory
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
,IPluginConfigService
public class JcrConfigServiceFactory extends Object implements IPluginConfigService
Configuration service for plugin clusters. Cluster folders are located beneath the application.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JcrConfigServiceFactory(JcrNodeModel model, String defaultKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detach()
IClusterConfig
getCluster(String key)
IClusterConfig
getDefaultCluster()
boolean
isSaveOnExitEnabled()
List<String>
listClusters(String folder)
-
-
-
Constructor Detail
-
JcrConfigServiceFactory
public JcrConfigServiceFactory(JcrNodeModel model, String defaultKey)
-
-
Method Detail
-
getCluster
public IClusterConfig getCluster(String key)
- Specified by:
getCluster
in interfaceIPluginConfigService
-
listClusters
public List<String> listClusters(String folder)
- Specified by:
listClusters
in interfaceIPluginConfigService
-
isSaveOnExitEnabled
public boolean isSaveOnExitEnabled()
- Specified by:
isSaveOnExitEnabled
in interfaceIPluginConfigService
-
getDefaultCluster
public IClusterConfig getDefaultCluster()
- Specified by:
getDefaultCluster
in interfaceIPluginConfigService
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-