|
Page Edited :
FELIX :
Architecture Handler
Architecture Handler has been edited by Clement Escoffier (Aug 17, 2007). Content:Architecture HandlerThe architecture feature allows obtaining an architectural / component view of your systems. It exposes a snapshot of the present instances & factories, the state of these instances ... Reflection on the componentThe architecture feature does "reflection" on the iPOJO containers. It gathers information about the component (state, class name ...), requirement (state, multiple, optional ...), provided services (state, properties) ... Each handler can participate to the architecutre. This information allows you to know why a instance does not start, or why the component does not publish / provide a service. MetadataTo allow the architecture to introspect the container, you need to add a attribute "architecture=true" to the component element: <Component className="fr.imag.adele.escoffier.hello.impl.HelloServiceImpl" architecture="true"> By default, the architecture feature is disabled. The "arch" commandA Felix command comes with the architecture handler. This command looks for all component exposing the architecture and print the information. arch => displays instances name & state (equivalent to arch -instances) Technical informationIn fact, when a component enables the architecture introspection, its container exposes an Architecture service. Any architecture requester can obtain information about the component. For example, the arch command request all the architecture service and print the information. |
Unsubscribe or edit your notifications preferences
