Uses of Class
org.apache.torque.generator.configuration.ConfigurationException
-
Packages that use ConfigurationException Package Description org.apache.torque.generator.configuration This package contains the classes for configuring the Torque generator.org.apache.torque.generator.configuration.controller This package contains the classes for reading the control configuration of the Torque generator units of generation.org.apache.torque.generator.configuration.mergepoint This package contains the classes for reading the mergepoint mappings for the Torque generator units of generation.org.apache.torque.generator.configuration.option This package contains the classes for reading the options for Torque generator units of generation.org.apache.torque.generator.configuration.outlet This package contains the classes for reading the outlet mappings for torque-generator's units of generation.org.apache.torque.generator.configuration.source This package provides SAXhandlers for reading the source configuration snippets in the control file.org.apache.torque.generator.outlet This package defines torque generator outlets which produce output snippets from the source.org.apache.torque.generator.outlet.copy This package defines and implements copy outlets.org.apache.torque.generator.outlet.java This package defines java outlets and provides some implementations.org.apache.torque.generator.source This package contains the handling of source files.org.apache.torque.generator.source.jdbc This package implements sources which read from jdbc.org.apache.torque.generator.source.stream This package contains the handling of stream-based sources, such as file sources.org.apache.torque.generator.template This package contains the handling of template-based outlets in the Torque generator.org.apache.torque.generator.template.groovy This package contains the handling of groovy outlets in the Torque generator.org.apache.torque.generator.template.velocity This package contains the handling of velocity outlets in the Torque generator. -
-
Uses of ConfigurationException in org.apache.torque.generator.configuration
Methods in org.apache.torque.generator.configuration that throw ConfigurationException Modifier and Type Method Description InputStream
AbstractConfigurationProvider. getControlConfigurationInputStream()
InputStream
ConfigurationProvider. getControlConfigurationInputStream()
Creates a reader to access the control configuration.String
ConfigurationProvider. getControlConfigurationLocation()
Returns the location of the control configuration as human readable String for debugging and error tracking purposes.String
DirectoryConfigurationProvider. getControlConfigurationLocation()
String
JarConfigurationProvider. getControlConfigurationLocation()
protected abstract InputStream
AbstractConfigurationProvider. getInputStream(String name, String directory, String fileDescription)
protected InputStream
ClasspathConfigurationProvider. getInputStream(String name, String directory, String fileDescription)
protected InputStream
DirectoryConfigurationProvider. getInputStream(String name, String directory, String description)
protected InputStream
JarConfigurationProvider. getInputStream(String name, String directory, String description)
static Object
ClassHelper. getInstance(String className, Class<?> isInstanceOf, UnitDescriptor unitDescriptor)
Creates an instance of a class and checks whether it can be casted to another classInputStream
AbstractConfigurationProvider. getOptionsInputStream(String name)
InputStream
ConfigurationProvider. getOptionsInputStream(String name)
Creates a reader to access an options file.InputStream
AbstractConfigurationProvider. getOutletConfigurationInputStream(String name)
InputStream
ConfigurationProvider. getOutletConfigurationInputStream(String name)
Creates a reader to access the configuration for one outlet.Collection<String>
ClasspathConfigurationProvider. getOutletConfigurationNames()
Collection<String>
ConfigurationProvider. getOutletConfigurationNames()
Returns a list of all found outlet configuration files in the generation unit.Collection<String>
DirectoryConfigurationProvider. getOutletConfigurationNames()
Collection<String>
JarConfigurationProvider. getOutletConfigurationNames()
InputStream
AbstractConfigurationProvider. getResourceInputStream(String name)
InputStream
ConfigurationProvider. getResourceInputStream(String path)
Creates a reader to access a resource file.InputStream
AbstractConfigurationProvider. getTemplateInputStream(String name)
InputStream
ConfigurationProvider. getTemplateInputStream(String name)
Creates a reader to access a template.Collection<String>
ClasspathConfigurationProvider. getTemplateNames()
Collection<String>
ConfigurationProvider. getTemplateNames()
Lists all available template names.Collection<String>
DirectoryConfigurationProvider. getTemplateNames()
Collection<String>
JarConfigurationProvider. getTemplateNames()
void
Configuration. read()
Reads the configuration.void
OutletTypes. registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory)
Registers a handler for a new type of outlets.void
OutletTypes. registerUntypedOutletHandlerFactory(UntypedOutletSaxHandlerFactory factory)
Registers a untyped handler.Constructors in org.apache.torque.generator.configuration that throw ConfigurationException Constructor Description JarConfigurationProvider(ProjectPaths projectPaths, TorqueGeneratorPaths configurationPaths)
Constructor.PackageResources(String packageToFind, ClassLoader classLoader)
Constructor, finds the resources for a certain package. -
Uses of ConfigurationException in org.apache.torque.generator.configuration.controller
Methods in org.apache.torque.generator.configuration.controller that throw ConfigurationException Modifier and Type Method Description ControlConfiguration
ControlConfigurationXmlParser. readControllerConfiguration(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)
Reads the controller configuration out of a configurationProvider. -
Uses of ConfigurationException in org.apache.torque.generator.configuration.mergepoint
Methods in org.apache.torque.generator.configuration.mergepoint that throw ConfigurationException Modifier and Type Method Description void
ActionSaxHandlerFactories. register(ActionSaxHandlerFactory factory)
Registers a handler for a new action type.void
OptionsSaxHandlerFactories. register(OptionsSaxHandlerFactory optionsSaxHandlerFactory)
Registers a new OptionsSaxHandlerFactory. -
Uses of ConfigurationException in org.apache.torque.generator.configuration.option
Methods in org.apache.torque.generator.configuration.option that throw ConfigurationException Modifier and Type Method Description Collection<Option>
MapOptionsConfiguration. getOptions(ConfigurationProvider configurationProvider)
Returns the contained options.Collection<Option>
OptionsConfiguration. getOptions(ConfigurationProvider configurationProvider)
Retrieves the configured options and returns them.Collection<Option>
PropertiesOptionConfiguration. getOptions(ConfigurationProvider configurationProvider)
Reads the options from the property file given in the path and returns them.Collection<Option>
XmlOptionConfiguration. getOptions(ConfigurationProvider configurationProvider)
Reads the options from the XML file given in the path and returns them. -
Uses of ConfigurationException in org.apache.torque.generator.configuration.outlet
Methods in org.apache.torque.generator.configuration.outlet that throw ConfigurationException Modifier and Type Method Description void
OutletConfiguration. addOutlet(Outlet outlet, UnitDescriptor unitDescriptor)
Adds a outlet.Outlet
GroovyOutletSaxHandlerFactory. createOutletForTemplate(String templatePath, ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.Outlet
TypedOutletSaxHandlerFactory. createOutletForTemplate(String templatePath, ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.Outlet
VelocityOutletSaxHandlerFactory. createOutletForTemplate(String templatePath, ConfigurationProvider configurationProvider)
Creates an outlet for a template with the given file name.OutletConfiguration
OutletConfigurationXmlParser. readOutletConfiguration(ConfigurationProvider configurationProvider, ConfigurationHandlers configurationHandlers, UnitDescriptor unitDescriptor)
Reads all outlet configuration files and creates the outlet configuration from them.void
OutletConfiguration. resolveMergepointMappings()
Resolves the isolated merge point mappings and adds them to the relevant outlets.Constructors in org.apache.torque.generator.configuration.outlet that throw ConfigurationException Constructor Description OutletConfiguration(Collection<Outlet> outlets, Collection<MergepointMapping> mergepointMappings, UnitDescriptor unitDescriptor)
Creates a OutletConfiguration containing a list of Outlets. -
Uses of ConfigurationException in org.apache.torque.generator.configuration.source
Methods in org.apache.torque.generator.configuration.source that throw ConfigurationException Modifier and Type Method Description byte[]
EntityReferenceSaxHandler. readResource()
Reads the resource defined in the parsed XML .void
SourceSaxHandlerFactories. register(SourceSaxHandlerFactory sourceSaxHandlerFactory)
Registers a new SourcseSaxHandlerFactory. -
Uses of ConfigurationException in org.apache.torque.generator.outlet
Methods in org.apache.torque.generator.outlet that throw ConfigurationException Modifier and Type Method Description void
DebuggingOutletWrapper. addMergepointMapping(MergepointMapping mergepointMapping)
Adds the mergepoint mapping to the delegate.void
Outlet. addMergepointMapping(MergepointMapping mergepointMapping)
Adds an mergepoint mapping to the outlet.void
OutletImpl. addMergepointMapping(MergepointMapping mergepointMapping)
Adds an mergepoint mapping to the outlet. -
Uses of ConfigurationException in org.apache.torque.generator.outlet.copy
Constructors in org.apache.torque.generator.outlet.copy that throw ConfigurationException Constructor Description CopyOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path)
Constructs a new CopyOutlet. -
Uses of ConfigurationException in org.apache.torque.generator.outlet.java
Methods in org.apache.torque.generator.outlet.java that throw ConfigurationException Modifier and Type Method Description void
OutletWithoutMergepoints. addMergepointMapping(MergepointMapping mergepointMapping)
-
Uses of ConfigurationException in org.apache.torque.generator.source
Methods in org.apache.torque.generator.source that throw ConfigurationException Modifier and Type Method Description abstract SourceProvider
SourceProvider. copy()
Returns a copy of this source provider in its initial state.void
SourceProvider. init(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
Initializes the source provider.protected abstract void
SourceProvider. initInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
Initializes the sources provided by this SourceProvider.void
SourceProvider. reset(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
Resets the source provider.protected abstract void
SourceProvider. resetInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
Resets the sources provided by this SourceProvider.void
SourceProcessConfiguration. setSkipDecider(String skipDecider, UnitDescriptor unitDescriptor)
Sets and instantiates the source filter class. -
Uses of ConfigurationException in org.apache.torque.generator.source.jdbc
Methods in org.apache.torque.generator.source.jdbc that throw ConfigurationException Modifier and Type Method Description SourceProvider
JdbcMetadataSourceProvider. copy()
Returns a copy of this source provider in its initial state.void
JdbcMetadataSourceProvider. initInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
protected void
JdbcMetadataSourceProvider. resetInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
Constructors in org.apache.torque.generator.source.jdbc that throw ConfigurationException Constructor Description JdbcMetadataSourceProvider(String urlOption, String driverOption, String usernameOption, String passwordOption, String schemaOption)
-
Uses of ConfigurationException in org.apache.torque.generator.source.stream
Methods in org.apache.torque.generator.source.stream that throw ConfigurationException Modifier and Type Method Description SourceProvider
FileSourceProvider. copy()
Returns a copy of this source provider in its initial state.protected void
FileSourceProvider. initInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)
Determines the files which match the source fileset.Constructors in org.apache.torque.generator.source.stream that throw ConfigurationException Constructor Description FileSourceProvider(StreamSourceFormat sourceFormat, Fileset sourceFileset, Boolean combineFiles)
Constructor. -
Uses of ConfigurationException in org.apache.torque.generator.template
Methods in org.apache.torque.generator.template that throw ConfigurationException Modifier and Type Method Description String
TemplateOutlet. getContent(ControllerState controllerState)
Returns the contents as a Template as a String.String
TemplateOutletImpl. getContent(ControllerState controllerState)
Constructors in org.apache.torque.generator.template that throw ConfigurationException Constructor Description TemplateOutletImpl(QualifiedName name, ConfigurationProvider configurationProvider, String path, String encoding, TemplateFilter templateFilter)
Constructs a TemplateOutletImpl with the given name. -
Uses of ConfigurationException in org.apache.torque.generator.template.groovy
Constructors in org.apache.torque.generator.template.groovy that throw ConfigurationException Constructor Description GroovyOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path, String encoding)
Constructs a new GroovyOutlet.GroovyScriptOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path, String encoding)
Constructs a new GroovyScriptOutlet.GroovyTemplateOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path, String encoding)
Constructs a new GroovyTemplateOutlet. -
Uses of ConfigurationException in org.apache.torque.generator.template.velocity
Constructors in org.apache.torque.generator.template.velocity that throw ConfigurationException Constructor Description VelocityOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path, String encoding)
Constructs a new VelocityTemplateOutlet.
-