|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MonitorFactory
A MonitorFactory creates implementations of components' monitor interfaces that interface with a its monitoring
scheme. For example, a implementation may create versions that emit appropriate logging events or which send
notifications to a management API.
MonitorFactory implementations must provide a no-arg constructor and implement the initialize(java.util.Map
method
to perform configuration of instances created using that constructor. Additional constructors may be defined;
typically their implementations delegate to initialize(java.util.Map
.
Method Summary | ||
---|---|---|
|
getMonitor(Class<T> monitorInterface)
Return a monitor for a component's monitor interface. |
|
void |
initialize(Map<String,Object> configProperties)
Initializes MonitorFactory instances with implementation-specific configuration properties. |
Method Detail |
---|
void initialize(Map<String,Object> configProperties)
configProperties
- a map of named configuration properties. May be null.
IllegalArgumentException
- if the instance can't be configured using the supplied properties<T> T getMonitor(Class<T> monitorInterface)
monitorInterface
- the component's monitoring interface
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |