
@Generated(value="org.jomc.tools.SourceFileProcessor 1.4", comments="See http://www.jomc.org/jomc/1.4/jomc-tools-1.4") public class RuntimeImplementation extends Implementation implements RuntimeModelObject
Implementation.
_abstract, _final, any, classDeclaration, clazz, dependencies, identifier, implementations, location, messages, name, properties, specifications, stateless, vendor, versionauthors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion| Constructor and Description |
|---|
RuntimeImplementation()
Creates a new
RuntimeImplementation instance. |
RuntimeImplementation(Implementation implementation)
Creates a new
RuntimeImplementation instance by deeply copying a given Implementation instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears shared runtime state.
|
void |
gc()
Handles shared runtime state.
|
Class<?> |
getJavaClass(ClassLoader classLoader)
Gets the Java class of the implementation for a given class loader.
|
JavaTypeName |
getJavaTypeName()
Gets the Java type name of the type referenced by the implementation.
|
URI |
getLocationUri()
Gets the location URI used for locating instances of this implementation.
|
clone, getAny, getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getClazz, getDependencies, getIdentifier, getImplementations, getLocation, getMessages, getName, getProperties, getSpecifications, getVendor, getVersion, isAbstract, isClassDeclaration, isFinal, isStateless, setAbstract, setClassDeclaration, setClazz, setDependencies, setFinal, setIdentifier, setImplementations, setLocation, setMessages, setName, setProperties, setSpecifications, setStateless, setVendor, setVersiongetAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersionpublic RuntimeImplementation(Implementation implementation)
RuntimeImplementation instance by deeply copying a given Implementation instance.implementation - The instance to copy.NullPointerException - if implementation is null.@Generated(value="org.jomc.tools.SourceFileProcessor 1.4", comments="See http://www.jomc.org/jomc/1.4/jomc-tools-1.4") public RuntimeImplementation()
RuntimeImplementation instance.public URI getLocationUri() throws ModelObjectException
This method queries an internal cache for a result object to return. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear() must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getLocationUri in class Implementationnull, if instances of this
implementation do not need to be located.ModelObjectException - if parsing the location to an URI object fails.Implementation.getLocation(),
clear()public Class<?> getJavaClass(ClassLoader classLoader) throws ModelObjectException, ClassNotFoundException
This method queries an internal cache for a result object to return for the given argument values. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method RuntimeModelObjects.clear() must be used to synchronize the state of the
internal cache with the state of the class loader, should the state of the class loader change.
getJavaClass in class ImplementationclassLoader - The class loader to get the Java class from or null, to get the Java class from the
platform's bootstrap class loader.null, if the implementation does not declare a class.ClassNotFoundException - if the Java class is not found.ModelObjectException - if parsing the name of the referenced type fails.Implementation.getClazz(),
RuntimeModelObjects.clear()public JavaTypeName getJavaTypeName() throws ModelObjectException
This method queries an internal cache for a result object to return. If no cached result object is available, this method queries the super-class for a result object to return and caches the outcome of that query for use on successive calls.
Note:
Method clear() must be used to synchronize the state of the internal cache with the
state of the instance, should the state of the instance change.
getJavaTypeName in class Implementationnull, if the implementation
does not reference a type.ModelObjectException - if compiling the name of the referenced type to a JavaTypeName fails.getJavaTypeName(),
clear()public void gc()
RuntimeModelObjectgc in interface RuntimeModelObjectpublic void clear()
RuntimeModelObjectclear in interface RuntimeModelObjectCopyright © 2005-2013 The JOMC Project. All Rights Reserved.