net.sf.mmapps.modules.config
Class Configuration
java.lang.Object
net.sf.mmapps.modules.config.Configuration
- public class Configuration
- extends java.lang.Object
The configuration class reflects mmbase the mmbase configuration of node managers, relation managers and applications
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeManagerConfigurations
NodeManagerConfigurations nodeManagerConfigurations
applicationConfigurations
ApplicationConfigurations applicationConfigurations
configurationFactory
ConfigurationFactory configurationFactory
Configuration
public Configuration()
- create a new Configuration
addNodeManagerConfiguration
public void addNodeManagerConfiguration(NodeManagerConfiguration nodeManagerConfiguration)
- Add a node manager to the "core" configuration.
Node managers that are added this way are treated as core builders and do not belong to an application.
- Parameters:
nodeManagerConfiguration
- the node manager configuration to add
addApplicationConfiguration
public void addApplicationConfiguration(ApplicationConfiguration applicationConfiguration)
- Add an application configuration to the configuration.
an application configuration consists of node managers and relation managers
- Parameters:
applicationConfiguration
- the application configuration to add to the configuration
getNodeManagerConfigurationFromRoot
public NodeManagerConfiguration getNodeManagerConfigurationFromRoot(java.lang.String name)
- Parameters:
name
- the node manager name
- Returns:
- the "core" node manager with name name or null of the nodemanager does not exist in den root of the configuration
getNodeManagerConfigurationFromApplication
public NodeManagerConfiguration getNodeManagerConfigurationFromApplication(java.lang.String appName,
java.lang.String name)
- Parameters:
appName
- the name of the applicationname
- the name of the builder
- Returns:
- the node manager configuration
getNodeManagerConfigurations
public NodeManagerConfigurations getNodeManagerConfigurations()
- Returns:
- the core node manager configuations
getApplicationConfigurations
public ApplicationConfigurations getApplicationConfigurations()
getNodeManagerConfiguration
public NodeManagerConfiguration getNodeManagerConfiguration(java.lang.String name)
createApplicationConfiguration
public ApplicationConfiguration createApplicationConfiguration()
createFieldConfiguration
public FieldConfiguration createFieldConfiguration()
createNodeManagerConfiguration
public NodeManagerConfiguration createNodeManagerConfiguration()
createRelationManagerConfiguration
public RelationManagerConfiguration createRelationManagerConfiguration()
Copyright © 2003-2004 mmapps. All Rights Reserved.