public class ExtensionComponent extends AbstractComponent
| Modifier and Type | Field and Description |
|---|---|
static ComponentType |
EXTENSION_COMPONENT_TYPE |
static String |
LINK_SYMBOL |
componentName, componentStatus, e, implementation, sofaRuntimeContext| Constructor and Description |
|---|
ExtensionComponent(Extension extension,
SofaRuntimeContext sofaRuntimeContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
activate component
|
Extension |
getExtension() |
Map<String,Property> |
getProperties()
get all properties
|
ComponentType |
getType()
get component type
|
HealthResult |
isHealthy()
check component is health or not
|
boolean |
resolve()
resolve component
|
aggregateBindingHealth, canBeDuplicate, deactivate, dump, exception, getContext, getImplementation, getName, getState, isActivated, isResolved, register, unregister, unresolvepublic static final String LINK_SYMBOL
public static final ComponentType EXTENSION_COMPONENT_TYPE
public ExtensionComponent(Extension extension, SofaRuntimeContext sofaRuntimeContext)
public ComponentType getType()
ComponentInfopublic Map<String,Property> getProperties()
ComponentInfopublic boolean resolve()
Componentresolve in interface Componentresolve in class AbstractComponentpublic void activate()
throws ServiceRuntimeException
Componentactivate in interface Componentactivate in class AbstractComponentServiceRuntimeExceptionpublic HealthResult isHealthy()
ComponentInfoisHealthy in interface ComponentInfoisHealthy in class AbstractComponentpublic Extension getExtension()
Copyright © 2021. All rights reserved.