|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetamodelConfiguration
The configuration from which the metamodel originates. This configuration is used to load metamodel related resources.
This interface is not intended to be implemented by clients.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||