org.objectweb.jorm.compiler.api

Interface JormCompilerConfigurator

All Superinterfaces:
JormConfigurator

public interface JormCompilerConfigurator
extends JormConfigurator

Used to hold the configuration information related to a JORM compiler instance.

Author:
P. Dechamboux

Field Summary

static String
DEFAULT_JORM_CONFIGURATION_FILE
static String
LOGGER_NAME
static String
USE_CONTEXT_CLASSLOADER

Fields inherited from interface org.objectweb.jorm.api.JormConfigurator

DEFAULT_JORM_CONFIGURATION_FILE, LOGGER_NAME, USE_CONTEXT_CLASSLOADER

Method Summary

Generator
getGenerator()
Gets the generator to be used by JORM.
InputStream
getGlobalJormcOptsFile()
Gets an InputStream for reading the global compiler parameters.
String
getJormcOptsFile()
Gets the name to be used for the compiler options file.
MOPFactory
getMOPFactory(String mappername)
Gets the MOP factory associated with the given mapper.
MappingVerifier
getMappingVerifier(String mappername)
Gets the verifier associated with the given mapper.
Verifier
getVerifier()
Gets the verifier to be used by JORM.

Methods inherited from interface org.objectweb.jorm.api.JormConfigurator

addSubMapper, configure, configure, configure, configureLog, getGcmClass, getLoggerFactory, getMIFactory, getMIManager, getMappingDomtreeBuilder, getMappingParser, getParser, getSchMgr, getSubMappers, getWriter, knownMappers, removeAllMappers, removeMapper, removeSubMapper, setLoggerFactory

Field Details

DEFAULT_JORM_CONFIGURATION_FILE

public static final String DEFAULT_JORM_CONFIGURATION_FILE


LOGGER_NAME

public static final String LOGGER_NAME


USE_CONTEXT_CLASSLOADER

public static final String USE_CONTEXT_CLASSLOADER

Method Details

getGenerator

public Generator getGenerator()
            throws PException
Gets the generator to be used by JORM.

Returns:
That generator.


getGlobalJormcOptsFile

public InputStream getGlobalJormcOptsFile()
            throws PException
Gets an InputStream for reading the global compiler parameters.

Returns:
The allocated InputStream.

Throws:
PException -


getJormcOptsFile

public String getJormcOptsFile()
            throws PException
Gets the name to be used for the compiler options file.

Returns:
That name.


getMOPFactory

public MOPFactory getMOPFactory(String mappername)
            throws PException
Gets the MOP factory associated with the given mapper.

Parameters:
mappername - The name of the concerned mapper.

Returns:
The MOPFactory object.

Throws:
PException -


getMappingVerifier

public MappingVerifier getMappingVerifier(String mappername)
            throws PException
Gets the verifier associated with the given mapper.

Parameters:
mappername - The name of the concerned mapper.

Returns:
The MappingVerifier object.

Throws:
PException -


getVerifier

public Verifier getVerifier()
            throws PException
Gets the verifier to be used by JORM.

Returns:
That verifier.