Package org.mariadb.jdbc.internal.osgi
Class MariaDbActivator
- java.lang.Object
-
- org.mariadb.jdbc.internal.osgi.MariaDbActivator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class MariaDbActivator extends java.lang.Object implements org.osgi.framework.BundleActivator
The MariaDbActivator registers the JDBC Service with the OSGi-Framework.
-
-
Field Summary
Fields Modifier and Type Field Description private org.osgi.framework.ServiceRegistration<org.osgi.service.jdbc.DataSourceFactory>
service
-
Constructor Summary
Constructors Constructor Description MariaDbActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start(org.osgi.framework.BundleContext context)
void
stop(org.osgi.framework.BundleContext context)
-
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
java.lang.Exception
-
-