nl.gx.webmanager.services.framework.spi
Class SpringFrameworkBase

java.lang.Object
  extended by nl.gx.webmanager.services.framework.spi.FrameworkBase
      extended by nl.gx.webmanager.services.framework.spi.SpringFrameworkBase
All Implemented Interfaces:
Framework, org.springframework.context.ResourceLoaderAware, org.springframework.web.context.ServletContextAware

public abstract class SpringFrameworkBase
extends FrameworkBase
implements org.springframework.context.ResourceLoaderAware

This class provides the base implementation of the Framework in a Spring webapplication context. It implements ResourceLoaderAware to gain access to the environment and configure the framework.

Author:
bramk

Field Summary
 
Fields inherited from interface nl.gx.webmanager.services.framework.spi.Framework
CLUSTERING_NODEID_PROP, CLUSTERING_READONLY_PROP
 
Constructor Summary
SpringFrameworkBase()
           
 
Method Summary
 java.io.File getDefaultBundleDirectory()
          Returns the default bundle directory which resides in the WEB-INF directory.
 boolean isUseDefaultBundleDirectory()
          Returns whether the framework is configured to use the default bundle directory.
 void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
           
 
Methods inherited from class nl.gx.webmanager.services.framework.spi.FrameworkBase
getBaseDirectory, getBundleDirectory, getBundleLocation, getCacheDirectory, getClusterNodeId, getEditionDirectory, getInitialFrameworkStartLevel, getInstallMap, getProperties, getRepositoryDirectory, getService, getService, getWebrootDirectory, initialize, isAvailable, isClusterMasterNode, isForceInitialize, isStarting, restart, setBaseDirectory, setBundleDirectory, setCacheDirectory, setEditionDirectory, setForceInitialize, setInitialFrameworkStartLevel, setInstallMap, setProperties, setRepositoryDirectory, setServletContext, setWebrootDirectory, shutdown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nl.gx.webmanager.services.framework.spi.Framework
getServices, getServices, setFrameworkStartLevel
 

Constructor Detail

SpringFrameworkBase

public SpringFrameworkBase()
Method Detail

setResourceLoader

public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
Specified by:
setResourceLoader in interface org.springframework.context.ResourceLoaderAware

getDefaultBundleDirectory

public java.io.File getDefaultBundleDirectory()
Returns the default bundle directory which resides in the WEB-INF directory.

Returns:
a File representing the default bundle directory

isUseDefaultBundleDirectory

public boolean isUseDefaultBundleDirectory()
Returns whether the framework is configured to use the default bundle directory.

Returns:
whether the framework is configured to use the default bundle directory.


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