nl.gx.webmanager.services.frameworkconfig
Interface FrameworkConfig


public interface FrameworkConfig

The FrameworkConfig service provides a serviceinterface for other services to access framework (runtime) configuration data from outside the service framework. Any service accessing such data MUST do this through this service.

Author:
bramk

Method Summary
 java.lang.String getBaseDirectory()
           
 java.lang.String getBundleDirectory()
           
 java.lang.String getCacheDirectory()
           
 java.lang.String getClusterNodeId()
          Provides the configured cluster identifier for this node.
 org.osgi.framework.Version getPlatformVersion()
           
 java.lang.String getRepositoryDirectory()
           
 java.lang.String getWebrootDirectory()
           
 boolean isClusterMasterNode()
          Indicates if this instance is a master node.
 boolean isClusterTaskMaster()
          Indicates whether this instance is responsible for executing scheduled task that should run at one server at once.
 boolean isShuttingDown()
          Indicates if the Felix framework is shutting down.
 

Method Detail

getBaseDirectory

java.lang.String getBaseDirectory()
Returns:
the framework basedirectory

getBundleDirectory

java.lang.String getBundleDirectory()
Returns:
the framework bundledirectory

getCacheDirectory

java.lang.String getCacheDirectory()
Returns:
the framework cachedirectory

getRepositoryDirectory

java.lang.String getRepositoryDirectory()
Returns:
the framework repositorydirectory

getWebrootDirectory

java.lang.String getWebrootDirectory()
Returns:
the framework webrootdirectory

getPlatformVersion

org.osgi.framework.Version getPlatformVersion()
Returns:
the build version of the WebManager framework.

isClusterMasterNode

boolean isClusterMasterNode()
Indicates if this instance is a master node.

Returns:
true if this is a master node, else false.

isClusterTaskMaster

boolean isClusterTaskMaster()
Indicates whether this instance is responsible for executing scheduled task that should run at one server at once.

Returns:
true if this is a task master node, else false.

getClusterNodeId

java.lang.String getClusterNodeId()
Provides the configured cluster identifier for this node.

Returns:
the string identifier for this node.

isShuttingDown

boolean isShuttingDown()
Indicates if the Felix framework is shutting down.

Returns:
true if the Felix framework is shutting down


Copyright © 2007-2011 GX Software BV. All Rights Reserved.