public class FrameworkModel extends ScopeModel
| Constructor and Description |
|---|
FrameworkModel() |
| 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() |
Environment |
getModelEnvironment() |
FrameworkServiceRepository |
getServiceRepository() |
ApplicationModel |
newApplication() |
addClassLoader, addDestroyListener, destroy, getAttribute, getAttribute, getAttributes, getBeanFactory, getClassLoaders, getDesc, getExtensionDirector, getInternalId, getModelName, getParent, getScope, isDestroyed, isInternal, removeClassLoader, setAttribute, setModelName, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdaptiveExtension, getDefaultExtension, getExtension, getExtensionLoaderpublic static final String NAME
public 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 getModelEnvironment()
getModelEnvironment in class ScopeModelCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.