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 InputStreamAbstractConfigurationProvider. getControlConfigurationInputStream()InputStreamConfigurationProvider. getControlConfigurationInputStream()Creates a reader to access the control configuration.StringConfigurationProvider. getControlConfigurationLocation()Returns the location of the control configuration as human readable String for debugging and error tracking purposes.StringDirectoryConfigurationProvider. getControlConfigurationLocation()StringJarConfigurationProvider. getControlConfigurationLocation()protected abstract InputStreamAbstractConfigurationProvider. getInputStream(String name, String directory, String fileDescription)protected InputStreamClasspathConfigurationProvider. getInputStream(String name, String directory, String fileDescription)protected InputStreamDirectoryConfigurationProvider. getInputStream(String name, String directory, String description)protected InputStreamJarConfigurationProvider. getInputStream(String name, String directory, String description)static ObjectClassHelper. getInstance(String className, Class<?> isInstanceOf, UnitDescriptor unitDescriptor)Creates an instance of a class and checks whether it can be casted to another classInputStreamAbstractConfigurationProvider. getOptionsInputStream(String name)InputStreamConfigurationProvider. getOptionsInputStream(String name)Creates a reader to access an options file.InputStreamAbstractConfigurationProvider. getOutletConfigurationInputStream(String name)InputStreamConfigurationProvider. 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()InputStreamAbstractConfigurationProvider. getResourceInputStream(String name)InputStreamConfigurationProvider. getResourceInputStream(String path)Creates a reader to access a resource file.InputStreamAbstractConfigurationProvider. getTemplateInputStream(String name)InputStreamConfigurationProvider. 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()voidConfiguration. read()Reads the configuration.voidOutletTypes. registerTypedOutletHandlerFactory(TypedOutletSaxHandlerFactory factory)Registers a handler for a new type of outlets.voidOutletTypes. 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 ControlConfigurationControlConfigurationXmlParser. 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 voidActionSaxHandlerFactories. register(ActionSaxHandlerFactory factory)Registers a handler for a new action type.voidOptionsSaxHandlerFactories. 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 voidOutletConfiguration. addOutlet(Outlet outlet, UnitDescriptor unitDescriptor)Adds a outlet.OutletGroovyOutletSaxHandlerFactory. createOutletForTemplate(String templatePath, ConfigurationProvider configurationProvider)Creates an outlet for a template with the given file name.OutletTypedOutletSaxHandlerFactory. createOutletForTemplate(String templatePath, ConfigurationProvider configurationProvider)Creates an outlet for a template with the given file name.OutletVelocityOutletSaxHandlerFactory. createOutletForTemplate(String templatePath, ConfigurationProvider configurationProvider)Creates an outlet for a template with the given file name.OutletConfigurationOutletConfigurationXmlParser. readOutletConfiguration(ConfigurationProvider configurationProvider, ConfigurationHandlers configurationHandlers, UnitDescriptor unitDescriptor)Reads all outlet configuration files and creates the outlet configuration from them.voidOutletConfiguration. 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 .voidSourceSaxHandlerFactories. 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 voidDebuggingOutletWrapper. addMergepointMapping(MergepointMapping mergepointMapping)Adds the mergepoint mapping to the delegate.voidOutlet. addMergepointMapping(MergepointMapping mergepointMapping)Adds an mergepoint mapping to the outlet.voidOutletImpl. 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 voidOutletWithoutMergepoints. 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 SourceProviderSourceProvider. copy()Returns a copy of this source provider in its initial state.voidSourceProvider. init(ConfigurationHandlers configurationHandlers, ControllerState controllerState)Initializes the source provider.protected abstract voidSourceProvider. initInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)Initializes the sources provided by this SourceProvider.voidSourceProvider. reset(ConfigurationHandlers configurationHandlers, ControllerState controllerState)Resets the source provider.protected abstract voidSourceProvider. resetInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)Resets the sources provided by this SourceProvider.voidSourceProcessConfiguration. 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 SourceProviderJdbcMetadataSourceProvider. copy()Returns a copy of this source provider in its initial state.voidJdbcMetadataSourceProvider. initInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState)protected voidJdbcMetadataSourceProvider. 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 SourceProviderFileSourceProvider. copy()Returns a copy of this source provider in its initial state.protected voidFileSourceProvider. 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 StringTemplateOutlet. getContent(ControllerState controllerState)Returns the contents as a Template as a String.StringTemplateOutletImpl. 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.
-