|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.lib.JormConfiguratorImpl
org.objectweb.jorm.compiler.lib.JormCompilerConfiguratorImpl
Used to hold the configuration information related to a JORM compiler instance.
Field Summary |
Fields inherited from class org.objectweb.jorm.lib.JormConfiguratorImpl |
loader, logger, loggerFactory, logProperties, mappers, pathToJormcOpts, properties |
Fields inherited from interface org.objectweb.jorm.compiler.api.JormCompilerConfigurator |
DEFAULT_JORM_CONFIGURATION_FILE, LOGGER_NAME, USE_CONTEXT_CLASSLOADER |
Constructor Summary | |
JormCompilerConfiguratorImpl()
|
Method Summary | |
Generator |
getGenerator()
Gets the generator to be used by JORM. |
java.io.InputStream |
getGlobalJormcOptsFile()
Gets an InputStream for reading the global compiler parameters. |
java.lang.String |
getJormcOptsFile()
Gets the name to be used for the compiler options file. |
MappingVerifier |
getMappingVerifier(java.lang.String mappername)
Gets the verifier associated with the given mapper. |
MOPFactory |
getMOPFactory(java.lang.String mappername)
Gets the MOP factory associated with the given mapper. |
Verifier |
getVerifier()
Gets the verifier to be used by JORM. |
void |
setLoggerFactory(LoggerFactory lf)
It assignes the logger factory. |
Methods inherited from class org.objectweb.jorm.lib.JormConfiguratorImpl |
addSubMapper, configure, configure, configure, configureLog, configureMIManager, configureParser, getGcmClass, getLoggerFactory, getMappingDomtreeBuilder, getMappingParser, getMIFactory, getMIManager, getParser, getSchMgr, getSubMappers, getWriter, knownMappers, removeAllMappers, removeMapper, removeSubMapper |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jorm.api.JormConfigurator |
addSubMapper, configure, configure, configure, configureLog, configureMIManager, configureParser, getGcmClass, getLoggerFactory, getMappingDomtreeBuilder, getMappingParser, getMIFactory, getMIManager, getParser, getSchMgr, getSubMappers, getWriter, knownMappers, removeAllMappers, removeMapper, removeSubMapper |
Constructor Detail |
public JormCompilerConfiguratorImpl()
Method Detail |
public void setLoggerFactory(LoggerFactory lf)
setLoggerFactory
in interface JormConfigurator
setLoggerFactory
in class JormConfiguratorImpl
lf
- public Verifier getVerifier() throws PException
getVerifier
in interface JormCompilerConfigurator
PException
public Generator getGenerator() throws PException
getGenerator
in interface JormCompilerConfigurator
PException
public java.lang.String getJormcOptsFile() throws PException
getJormcOptsFile
in interface JormCompilerConfigurator
PException
public MOPFactory getMOPFactory(java.lang.String mappername) throws PException
getMOPFactory
in interface JormCompilerConfigurator
mappername
- The name of the concerned mapper.
PException
public java.io.InputStream getGlobalJormcOptsFile() throws PException
getGlobalJormcOptsFile
in interface JormCompilerConfigurator
PException
public MappingVerifier getMappingVerifier(java.lang.String mappername) throws PException
getMappingVerifier
in interface JormCompilerConfigurator
mappername
- The name of the concerned mapper.
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |