org.apache.sling.javax.activation.internal
Class Activator
java.lang.Object
org.apache.sling.javax.activation.internal.Activator
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator
The Activator locates activation-related services defined in mailcap files and registers
them so they can be used by the Java Activation Framework
The mailcap entries are expected to be found in a /META-INF/mailcap file inside the bundle.
This implementation does not support the full lookup algorithm specified by the MailcapCommandMap
.
Method Summary |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Activator
public Activator()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.