public interface Component
SOFA Component Interface. Component Lifecycle:
[UNREGISTERED]
| ▲
register │ │ unregister
| |
[REGISTERED]
| ▲
resolve │ │ unresolve
| |
[RESOLVED]
| ▲
┌────┘ └────┐
│ │
activate | ▲ deactivate
│ │
└───┐ ┌────┘
|
[ACTIVATED]
| 限定符和类型 | 方法和说明 |
|---|---|
void |
activate()
activate component
|
void |
deactivate()
deactivate component
|
void |
exception(Exception e)
create an exception to describe error
|
void |
register()
register component
|
boolean |
resolve()
resolve component
|
void |
unregister()
unregister component
|
void |
unresolve()
unresolve component
|
void register()
void unregister()
throws ServiceRuntimeException
boolean resolve()
void unresolve()
throws ServiceRuntimeException
void activate()
throws ServiceRuntimeException
void deactivate()
throws ServiceRuntimeException
void exception(Exception e) throws ServiceRuntimeException
Copyright © 2018. All rights reserved.