liquibase.resource.OSGiResourceAccessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
package liquibase.resource;
import org.osgi.framework.Bundle;
import org.osgi.framework.wiring.BundleWiring;
public class OSGiResourceAccessor extends ClassLoaderResourceAccessor {
public OSGiResourceAccessor(Bundle bundle) {
super(bundle.adapt(BundleWiring.class).getClassLoader());
}
}