Announcement Announcement Module
Collapse
No announcement yet.
Osgi Listener binding Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Osgi Listener binding

    Hi All,

    I am facing an issue while trying to register a osgi listener using the bind-method. Below are the sample entries in my osgi and spring xmls.

    spring xml
    ---------
    <bean id="Proxy" class="com.abc.tyrw.impl.ProxyImpl" init-method="init" destroy-method="shutdown">
    <property name="Managers" ref="Managers"/>
    </bean>

    osgi xml
    --------
    <osgi:list id="Managers" interface="com.abc.def.IManager" cardinality="0..N">
    <osgi:listener ref="Proxy" bind-method="bind" />
    </osgi:list>

    ProxyImpl has the bind method defined.
    The bind method never gets called because of which I am unable to start my service (an application specific functionality implemented in bind method).

    Any help is highly appreciated.
Working...
X