i want execute script when bundle update, uninstall, or new.
i use actualy destroy-method , init-method don't if bundle has "stop" or "remove".
<bean id="plugin" class="com.toto.orderplugin" destroy-method="remove" init-method="install">
for sample, why want catch event when bundle update :
- i want know old version , new version , execute script in condition if bundle uninstall :
- i want drop datable if bundle new
- i want create datable
what right way type of process? can give me example?
thank
well in case i'd go std. activator. skip using blueprint xml , use bundle-activator instead, way have full control bundle start behaviour.
Comments
Post a Comment