public class FrameworkFactory extends Object implements FrameworkFactory, ConnectFrameworkFactory
Constructor and Description |
---|
FrameworkFactory() |
Modifier and Type | Method and Description |
---|---|
Framework |
newFramework(Map configuration)
Create a new
Framework instance. |
Framework |
newFramework(Map<String,String> configuration,
ModuleConnector connectFramework)
Create a new
Framework instance using the specified
module connector . |
public Framework newFramework(Map configuration)
FrameworkFactory
Framework
instance.newFramework
in interface FrameworkFactory
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 be null
. 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.Framework
instance. The framework
instance must be in the Bundle.INSTALLED
state.public Framework newFramework(Map<String,String> configuration, ModuleConnector connectFramework)
ConnectFrameworkFactory
Framework
instance using the specified
module connector
.newFramework
in interface ConnectFrameworkFactory
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 be null
. 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.connectFramework
- The module connector that the new framework
instance will use. The specified module connector argument may
be null
.Framework
instance. The framework
instance must be in the Bundle.INSTALLED
state.ModuleConnector
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.