nl.gx.webmanager.wcb.lifecycle
Class WCBResourceManager

java.lang.Object
  extended by nl.gx.webmanager.wcb.lifecycle.WCBLifecycleManager
      extended by nl.gx.webmanager.wcb.lifecycle.WCBResourceManager

public class WCBResourceManager
extends WCBLifecycleManager

This class implements the business logic to manage WCB resources


Field Summary
 
Fields inherited from class nl.gx.webmanager.wcb.lifecycle.WCBLifecycleManager
myBundle, myBundleDefinition, myComponentManager, myIsWCB, myPreferencesService, myRepositoryService
 
Constructor Summary
WCBResourceManager(nl.gx.webmanager.wcb.componentmanager.impl.ComponentManagerImpl componentManager, org.osgi.framework.Bundle bundle)
          Constructor for WCBs that are in any state
WCBResourceManager(nl.gx.webmanager.wcb.componentmanager.impl.ComponentManagerImpl componentManager, ComponentBundleDefinition bundleDefinition)
          Constructor for WCBs that are in the ACTIVE state
 
Method Summary
 void deleteBundleResources()
          Delete the bundle resources from disk
 void setLanguageResources()
          Set the language resources.
 void writeBundleResources()
          Write the bundle resources to disk
 
Methods inherited from class nl.gx.webmanager.wcb.lifecycle.WCBLifecycleManager
deleteResourcesFromDisk, getBaseDirectory, getWebrootDirectory, purgePreferences, setBooleanPreference, setLastModified, startInfoMessage, stopInfoMessage, validateWCBKey, validateWCBKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WCBResourceManager

public WCBResourceManager(nl.gx.webmanager.wcb.componentmanager.impl.ComponentManagerImpl componentManager,
                          org.osgi.framework.Bundle bundle)
Constructor for WCBs that are in any state

Parameters:
componentManager - The component manager
bundle - The bundle to invoke the manager for

WCBResourceManager

public WCBResourceManager(nl.gx.webmanager.wcb.componentmanager.impl.ComponentManagerImpl componentManager,
                          ComponentBundleDefinition bundleDefinition)
Constructor for WCBs that are in the ACTIVE state

Parameters:
componentManager - The component manager
bundleDefinition - The component bundle definition to invoke the manager for
Method Detail

setLanguageResources

public void setLanguageResources()
Set the language resources.

Overrides:
setLanguageResources in class WCBLifecycleManager

writeBundleResources

public void writeBundleResources()
Write the bundle resources to disk


deleteBundleResources

public void deleteBundleResources()
Delete the bundle resources from disk

Overrides:
deleteBundleResources in class WCBLifecycleManager


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