felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bram Pouwelse <b...@pouwelse.com>
Subject DM: Callback "onRemove" callback not found on componnent instances []
Date Wed, 01 Jun 2016 14:33:29 GMT

I have some troubles with a dependency manager adapter service, for some
reason it fails to call the remove callback (looking at the message there
are no instances available to invoke the method on). Tried to reproduce the
issue in less complex project but I don't have the problem there...

The component is added in the DependencyActivatorBase#init method full
source is in bitbucket [1]

manager.add(createAdapterService(ApplicationService.class, null, "onAdd",
"onChange", "onRemove")
  .setInterface(Servlet.class.getName(), null)
  .setCallbacks("dmInit", "dmStart", "dmStop", "dmDestroy")

Any hints on where to start looking would be welcome ;)



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message