mirror of https://github.com/sipwise/jitsi.git
parent
6d1d099bbb
commit
bd6ca3e433
@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<bundle>
|
||||
<!--
|
||||
This metadata file instructs the Gravity Service Binder to
|
||||
create one instance of "SpellCheckServiceImpl". It also
|
||||
tells the generic activator that this instance implements the
|
||||
"SpellCheckService" service interface and that it has an
|
||||
aggregate dependency on "DictionaryService" services. Since
|
||||
the service dependency on dictionary services has a lower
|
||||
cardinality of one, the generic activator will create the instance
|
||||
and offer its spell check service only when there is at least
|
||||
one dictionary service available. The service dependency is
|
||||
"dynamic", which means that dictionary service availability
|
||||
will be monitored dynamically at runtime and it also tells the
|
||||
generic activator which methods to call when adding and removing
|
||||
dictionary services.
|
||||
-->
|
||||
<instance class="tutorial.example7.SpellCheckServiceImpl">
|
||||
<service interface="net.java.sip.communicator.service.configuration.ConfigurationService"/>
|
||||
<requires
|
||||
service="tutorial.example2.service.DictionaryService"
|
||||
filter="(Language=*)"
|
||||
cardinality="1..n"
|
||||
policy="dynamic"
|
||||
bind-method="addDictionary"
|
||||
unbind-method="removeDictionary"
|
||||
/>
|
||||
</instance>
|
||||
</bundle>
|
||||
Loading…
Reference in new issue