public interface MetamodelConfiguration
This interface is not intended to be implemented by clients.
Modifier and Type | Method and Description |
---|---|
File |
getInstallLocation()
Returns the location of the resource that declares the metamodel (
metamodels.xml )
or the external connector (connectors.xml ). |
URL |
getResource(String name)
Finds the resource with the given name, using the class loader used to load the metamodel.
|
Class<?> |
loadClass(String name)
Loads a metamodel related class, using the class loader used to load the metamodel.
|
Class<?> loadClass(String name) throws ClassNotFoundException
name
- the name of the class.ClassNotFoundException
- if the class was not found.ClassLoader.loadClass(java.lang.String)
URL getResource(String name)
name
- the resource name.URL
object for reading the resource,
or null
if the resource could not be found or the invoker doesn't have adequate privileges to get the resource.ClassLoader.getResource(java.lang.String)
File getInstallLocation()
metamodels.xml
)
or the external connector (connectors.xml
).
This can either be a jar file or a directory, depending on the underlying framework configuration.