public class FrameworkModel extends ScopeModel
| Constructor and Description |
|---|
FrameworkModel()
Use
FrameworkModel#newModel() to create a new model |
| Modifier and Type | Method and Description |
|---|---|
ApplicationModel |
defaultApplication()
Get or create default application model
|
static FrameworkModel |
defaultModel()
During destroying the default FrameworkModel, the FrameworkModel.defaultModel() or ApplicationModel.defaultModel()
will return a broken model, maybe cause unpredictable problem.
|
static void |
destroyAll()
Destroy all framework model instances, shutdown dubbo engine completely.
|
List<ApplicationModel> |
getAllApplicationModels()
Get all application models including the internal application model.
|
static List<FrameworkModel> |
getAllInstances()
Get all framework model instances
|
List<ApplicationModel> |
getApplicationModels()
Get all application models except for the internal application model.
|
ApplicationModel |
getInternalApplicationModel() |
FrameworkServiceRepository |
getServiceRepository() |
Environment |
modelEnvironment()
Get current model's environment.
|
ApplicationModel |
newApplication() |
addClassLoader, addClassLoaderListener, addDestroyListener, destroy, getAttribute, getAttribute, getAttributes, getBeanFactory, getClassLoaders, getDesc, getExtensionDirector, getInternalId, getModelEnvironment, getModelName, getParent, getScope, isDestroyed, isInternal, removeClassLoader, setAttribute, setModelName, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdaptiveExtension, getDefaultExtension, getExtension, getExtensionLoaderpublic static final String NAME
public FrameworkModel()
FrameworkModel#newModel() to create a new modelpublic static FrameworkModel defaultModel()
public static List<FrameworkModel> getAllInstances()
public static void destroyAll()
public ApplicationModel newApplication()
public ApplicationModel defaultApplication()
public List<ApplicationModel> getApplicationModels()
public List<ApplicationModel> getAllApplicationModels()
public ApplicationModel getInternalApplicationModel()
public FrameworkServiceRepository getServiceRepository()
public Environment modelEnvironment()
ScopeModelmodelEnvironment in class ScopeModelCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.