aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2010-07-12 17:08:26 +0000
committerEmil Ivov <emcho@jitsi.org>2010-07-12 17:08:26 +0000
commitbb7fa3320ba0eec683ff3a1447b163e7cce10127 (patch)
tree78a2321a9ddf7af74be22a56b7b427c41ef20079 /src/net/java
parent42da4218b092c62e11a0a58ea486f2d9d1f874e4 (diff)
downloadjitsi-bb7fa3320ba0eec683ff3a1447b163e7cce10127.zip
jitsi-bb7fa3320ba0eec683ff3a1447b163e7cce10127.tar.gz
jitsi-bb7fa3320ba0eec683ff3a1447b163e7cce10127.tar.bz2
Makes ProtocolMediaActivator implement BundleActivator
Diffstat (limited to 'src/net/java')
-rw-r--r--src/net/java/sip/communicator/service/protocol/media/ProtocolMediaActivator.java15
-rw-r--r--src/net/java/sip/communicator/service/protocol/media/protocol.media.manifest.mf2
2 files changed, 16 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/media/ProtocolMediaActivator.java b/src/net/java/sip/communicator/service/protocol/media/ProtocolMediaActivator.java
index c35800f..3f4c279 100644
--- a/src/net/java/sip/communicator/service/protocol/media/ProtocolMediaActivator.java
+++ b/src/net/java/sip/communicator/service/protocol/media/ProtocolMediaActivator.java
@@ -21,6 +21,7 @@ import org.osgi.framework.*;
* @author Emil Ivov
*/
public class ProtocolMediaActivator
+ implements BundleActivator
{
/**
* The <tt>Logger</tt> used by the <tt>ProtocolMediaActivator</tt>
@@ -68,6 +69,20 @@ public class ProtocolMediaActivator
}
/**
+ * Called when this bundle is stopped so the Framework can perform the
+ * bundle-specific activities necessary to stop the bundle.
+ *
+ * @param context The execution context of the bundle being stopped.
+ * @throws Exception If this method throws an exception, the bundle is
+ * still marked as stopped, and the Framework will remove the bundle's
+ * listeners, unregister all services registered by the bundle, and
+ * release all services used by the bundle.
+ */
+ public void stop(BundleContext context) throws Exception
+ {
+ }
+
+ /**
* Returns a reference to a ConfigurationService implementation currently
* registered in the bundle context or null if no such implementation was
* found.
diff --git a/src/net/java/sip/communicator/service/protocol/media/protocol.media.manifest.mf b/src/net/java/sip/communicator/service/protocol/media/protocol.media.manifest.mf
index 232f3f2..fc07f68 100644
--- a/src/net/java/sip/communicator/service/protocol/media/protocol.media.manifest.mf
+++ b/src/net/java/sip/communicator/service/protocol/media/protocol.media.manifest.mf
@@ -1,4 +1,4 @@
-Bundle-Activator: net.java.sip.communicator.impl.protocol.media.ProtocolMediaActivator
+Bundle-Activator: net.java.sip.communicator.service.protocol.media.ProtocolMediaActivator
Bundle-Name: Media Utilities for the Protocol Provider Service
Bundle-Description: Media Utilities for the Protocol Provider Service.
Bundle-Vendor: sip-communicator.org