public interface Component
SOFA Component Interface. Component Lifecycle:
[UNREGISTERED]
| ▲
register │ │ unregister
| |
[REGISTERED]
| ▲
resolve │ │ unresolve
| |
[RESOLVED]
| ▲
┌────┘ └────┐
│ │
activate | ▲ deactivate
│ │
└───┐ ┌────┘
|
[ACTIVATED]
| Modifier and Type | Method and Description |
|---|---|
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
ServiceRuntimeExceptionboolean resolve()
void unresolve()
throws ServiceRuntimeException
ServiceRuntimeExceptionvoid activate()
throws ServiceRuntimeException
ServiceRuntimeExceptionvoid deactivate()
throws ServiceRuntimeException
ServiceRuntimeExceptionvoid exception(Exception e) throws ServiceRuntimeException
ServiceRuntimeExceptionCopyright © 2021. All rights reserved.