Author: cziegeler
Date: Fri Jun 18 09:50:13 2010
New Revision: 955917
URL: http://svn.apache.org/viewvc?rev=955917&view=rev
Log:
SLING-1560 : Improve and clean up code
Move all tracker code into service to hide implementation details
Don't throw an exception on shutdown
Modified:
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/Activator.java
Modified:
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/Activator.java
URL:
http://svn.apache.org/viewvc/sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/Activator.java?rev=955917&r1=955916&r2=955917&view=diff
==============================================================================
---
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/Activator.java
(original)
+++
sling/trunk/installer/osgi/installer/src/main/java/org/apache/sling/osgi/installer/impl/Activator.java
Fri Jun 18 09:50:13 2010
@@ -83,7 +83,7 @@ public class Activator implements Bundle
/**
* @see
org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
*/
- public void stop(BundleContext context) throws Exception {
+ public void stop(BundleContext context) {
context.removeBundleListener(this);
context.removeFrameworkListener(this);