net.sf.mmapps.modules.config
Class Configuration

java.lang.Object
  extended bynet.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


Field Summary
(package private)  ApplicationConfigurations applicationConfigurations
           
(package private)  ConfigurationFactory configurationFactory
           
(package private)  NodeManagerConfigurations nodeManagerConfigurations
           
 
Constructor Summary
Configuration()
          create a new Configuration
 
Method Summary
 void addApplicationConfiguration(ApplicationConfiguration applicationConfiguration)
          Add an application configuration to the configuration.
 void addNodeManagerConfiguration(NodeManagerConfiguration nodeManagerConfiguration)
          Add a node manager to the "core" configuration.
 ApplicationConfiguration createApplicationConfiguration()
           
 FieldConfiguration createFieldConfiguration()
           
 NodeManagerConfiguration createNodeManagerConfiguration()
           
 RelationManagerConfiguration createRelationManagerConfiguration()
           
 ApplicationConfigurations getApplicationConfigurations()
           
 NodeManagerConfiguration getNodeManagerConfiguration(java.lang.String name)
           
 NodeManagerConfiguration getNodeManagerConfigurationFromApplication(java.lang.String appName, java.lang.String name)
           
 NodeManagerConfiguration getNodeManagerConfigurationFromRoot(java.lang.String name)
           
 NodeManagerConfigurations getNodeManagerConfigurations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodeManagerConfigurations

NodeManagerConfigurations nodeManagerConfigurations

applicationConfigurations

ApplicationConfigurations applicationConfigurations

configurationFactory

ConfigurationFactory configurationFactory
Constructor Detail

Configuration

public Configuration()
create a new Configuration

Method Detail

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 application
name - 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.