org.apache.muse.core.platform.osgi.internal
Class OSGiResourceManager

java.lang.Object
  extended by org.apache.muse.core.SimpleResourceManager
      extended by org.apache.muse.core.platform.osgi.internal.OSGiResourceManager
All Implemented Interfaces:
Initialization, ResourceManager, Shutdown

public class OSGiResourceManager
extends SimpleResourceManager

this class is a stub implementaiton of a ResourceManager that allows a resource manager to be instantiated with no resource definitions. This manager is used by the OSGiResourceRouter and is really only intended to be used by ResourceManagementProvider implementations

Author:
Joel Hawkins(joelh)

Constructor Summary
OSGiResourceManager()
           
 
Method Summary
 void addResourceDefinitions(Collection definitions)
          adds resource definitions to the manager.
 
Methods inherited from class org.apache.muse.core.SimpleResourceManager
addListener, addResource, createResource, getEnvironment, getListeners, getNumberOfResources, getResource, getResourceContextPath, getResourceContextPaths, getResourceContextPaths, getResourceDefinition, getResourceEPRs, getResourceEPRs, hasBeenInitialized, hasBeenShutdown, initialize, isUsingPersistence, removeListener, removeResource, removeResourceDefinitions, setEnvironment, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiResourceManager

public OSGiResourceManager()
Method Detail

addResourceDefinitions

public void addResourceDefinitions(Collection definitions)
adds resource definitions to the manager. If the collection is empty or null, no action is taken

Specified by:
addResourceDefinitions in interface ResourceManager
Overrides:
addResourceDefinitions in class SimpleResourceManager
Parameters:
definitions - the collection of resource definitions to be added to the manager


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.