Include Page |
---|
| apache-felix-ipojo-header |
---|
| apache-felix-ipojo-header |
---|
|
HTML |
---|
Wiki Markup |
---|
{html}
<div class="content">
{html} |
The temporal dependency handler
Regular service dependencies participate to the instance lifecycle. Moreover, the injected service object is either available or not available. A temporal dependency handler is a little different and provides a different resolution pattern. Indeed, the temporal dependency does not invalidate the instance. Moreover, if not available, the temporal dependency waits (and so blocks the current thread) for a provider. Of course, the maximum waiting time can be specified. If a timeout occurs, the handler throws a Runtime Exception.
Div |
---|
|
|
Wiki Markup |
---|
{div:class=toc}
{toc:maxLevel=4|minLevel=2}
{div} |
Using the handler
First of all, you need to configure the component type to use the handler such as:
...