ClassLoaderResourceAccessor.search(String, boolean)
or ClassLoaderResourceAccessor.getAll(String)
,
as this provides a better handling of paths that map to multiple resources using Liquibase's DUPLICATE_FILE_MODE.
Refer to GlobalConfiguration.DUPLICATE_FILE_MODE
for the configuration and usage details.@Deprecated public class OpenmrsClassLoaderResourceAccessor extends liquibase.resource.ClassLoaderResourceAccessor
ClassLoaderResourceAccessor
which defaults to the OpenMRS ClassLoader and has
special handling for our liquibase.xml files, which occur multiple times on the classpath.Constructor and Description |
---|
OpenmrsClassLoaderResourceAccessor()
Deprecated.
|
OpenmrsClassLoaderResourceAccessor(ClassLoader classLoader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
liquibase.resource.InputStreamList |
openStreams(String relativeTo,
String streamPath)
Deprecated.
|
close, configureAdditionalResourceAccessors, describeLocations, getAll, init, search, search
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set, toString
public OpenmrsClassLoaderResourceAccessor()
public OpenmrsClassLoaderResourceAccessor(ClassLoader classLoader)
public liquibase.resource.InputStreamList openStreams(String relativeTo, String streamPath) throws IOException
IOException
Copyright © 2024 OpenMRS Inc.. All rights reserved.