Package org.apache.felix.framework
Class FrameworkFactory
- java.lang.Object
-
- org.apache.felix.framework.FrameworkFactory
-
- All Implemented Interfaces:
FrameworkFactory
public class FrameworkFactory extends java.lang.Object implements FrameworkFactory
-
-
Constructor Summary
Constructors Constructor Description FrameworkFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Framework
newFramework(java.util.Map configuration)
Create a newFramework
instance.
-
-
-
Method Detail
-
newFramework
public Framework newFramework(java.util.Map configuration)
Description copied from interface:FrameworkFactory
Create a newFramework
instance.- Specified by:
newFramework
in interfaceFrameworkFactory
- Parameters:
configuration
- The framework properties to configure the new framework instance. If framework properties are not provided by the configuration argument, the created framework instance must use some reasonable default configuration appropriate for the current VM. For example, the system packages for the current execution environment should be properly exported. The specified configuration argument may benull
. The created framework instance must copy any information needed from the specified configuration argument since the configuration argument can be changed after the framework instance has been created.- Returns:
- A new, configured
Framework
instance. The framework instance must be in theBundle.INSTALLED
state.
-
-