Uses of Class
cuba.util.GeneratorException

Packages that use GeneratorException
cuba.util This is the util-package, collecting command-line- and the generator-classes. 
cuba.util.codegen In this Package you find everything for generating the adaptors for the different enviroments. 
cuba.util.ddgen Here you find everything to generate deployment descriptors for every enviroment. 
cuba.util.ddgen.tokens This package handles a single component-, resource- enviromententry or reference. 
 

Uses of GeneratorException in cuba.util
 

Methods in cuba.util that throw GeneratorException
protected static void Generator.checkComponent(CUBAComponent comp)
           
protected static void Generator.checkComponents(java.util.ArrayList components)
           
 void GeneratorResult.dump()
          Dump the complete generator result by writing all messages to either standard out or standard err and writing all generated output to the file system.
 void GeneratedFile.dump()
          Dumps the content of a content-typed generator result to a file of the proposed name.
static void AxisUtils.generateSOAPStubs(CUBAComponent pComponent, java.lang.String pOutputDirectory)
          Generates the Axis stubs for the given component.
static void AxisUtils.generateWSDD(CUBAComponent pComponent, java.lang.String serviceName, java.lang.String pOutputDirectory)
          Generates the WSDD-Files for the given component.
static java.lang.String AxisUtils.generateWSDL(CUBAComponent pComponent, java.lang.String serviceName, java.lang.String pOutputDirectory, java.lang.String pAxisStyle, java.lang.String pAxisVersion, java.lang.String pInterfaceName)
          Generates a wsdl file for the given component.
static java.lang.Class GeneratorCommons.getType(java.lang.String name)
           
static java.lang.Class GeneratorCommons.getType(java.lang.String name, java.lang.Class baseType)
           
static boolean GeneratorCommons.isSynchronized(java.lang.String className)
           
static void JavaExecutor.performJavaCallAndWait(java.lang.String classname, java.lang.String options)
          Calls a javaclass in a seperate Runtime
protected static java.util.ArrayList Generator.readComponents(GeneratorOptions options)
           
 java.lang.String GeneratorOptions.setOutputDirectory()
           
protected static void Generator.syncException(CUBAComponent comp, java.lang.String problem)
           
 void GeneratedFile.undump()
          Reads a filename-typed generator result into memory and removes the file.
 

Uses of GeneratorException in cuba.util.codegen
 

Methods in cuba.util.codegen that throw GeneratorException
 GeneratorResult AdapterGenerator.generate(CUBAComponent component, AdapterGeneratorOptions options)
           
protected  GeneratorResult WSTAdapterGenerator.generate(GeneratorResult result)
           
protected  GeneratorResult WSAdapterGenerator.generate(GeneratorResult result)
           
 GeneratorResult EJB3AdapterGenerator.generate(GeneratorResult result)
           
protected  void ManagedAdapterGenerator.generateCommonInterceptors(GeneratedFile adapter, java.util.Collection interceptors, java.util.Collection baseInterceptors)
           
protected  void ManagedAdapterGenerator.generateCommonInterceptors(GeneratedFile adapter, CUBAComponent component)
           
protected  void EJB3AdapterGenerator.generateEnvironmentInjection(GeneratedFile adapter)
           
protected  void EJB3AdapterGenerator.generateInjection(GeneratedFile adapter, java.lang.String injectionType, java.util.Collection refs)
           
protected  void ManagedAdapterGenerator.generateInterceptors(GeneratedFile adapter, java.util.Collection interceptors, java.lang.String interceptorType)
           
protected  void ManagedAdapterGenerator.generateLifecycleMethodHeads(GeneratedFile adapter, java.lang.String[] callTypes)
           
protected  void ManagedAdapterGenerator.generateLifecycleMethodInitializers(GeneratedFile adapter, java.lang.String[] callTypes)
           
protected  void EJB3AdapterGenerator.generateLifecyleCall(GeneratedFile adapter, java.lang.String callType, java.lang.String annotation)
           
 void EJB3AdapterGenerator.generateMethod(GeneratedFile adapter, java.lang.reflect.Method method, boolean external)
           
 void ManagedAdapterGenerator.generateMethod(GeneratedFile adapter, java.lang.reflect.Method method, boolean external, boolean privateInterceptors)
           
protected  void EJB3AdapterGenerator.generateMethodDeclarator(GeneratedFile adapter, java.lang.reflect.Method method, boolean external)
           
protected  void ManagedAdapterGenerator.generateMethods(GeneratedFile adapter, java.lang.reflect.Method[] methods, java.util.Set externalMethods, boolean privateInterceptors)
           
protected  void EJB3AdapterGenerator.generatePostActivate(GeneratedFile adapter)
           
protected  void EJB3AdapterGenerator.generatePostConstruct(GeneratedFile adapter)
           
protected  void EJB3AdapterGenerator.generatePreDestroy(GeneratedFile adapter)
           
protected  void EJB3AdapterGenerator.generatePrePassivate(GeneratedFile adapter)
           
protected  java.lang.String EJB3AdapterGenerator.generateReferenceDeclarations(GeneratedFile adapter, java.lang.String refType, java.util.Collection refs, java.lang.String separator)
           
protected  void WSTAdapterGenerator.generateServerAdaptorMethod(GeneratedFile adapterFile, java.lang.reflect.Method pMethod)
          Generate method-implementation for server-adaptor.
protected  void WSTAdapterGenerator.generateServerMethodDeclarator(GeneratedFile adapterFile, java.lang.reflect.Method method)
          Method-Declaration is changed for tunnel-adapter: All types are changed to string All exceptions are removed.
protected  void WSTAdapterGenerator.generateSoapClasses(java.lang.String pInfo, java.lang.String pNameOfWSTI)
          Generates SOAP-classes ...
protected  void WSTAdapterGenerator.generateWSTClientAdaptor(java.lang.String pInfo, GeneratorResult result)
          Create the class "*_WSTClient" for the webservice-tunnel
based on the external interface of the component.
protected  void WSTAdapterGenerator.generateWSTInterface(java.lang.String pInfo, GeneratorResult result)
          Create the interface "*_WSTI" for the webservice-tunnel
based on the external interface of the component.
protected  void WSTAdapterGenerator.generateWSTServerAdaptor(java.lang.String pInfo, GeneratorResult result)
           
 cuba.util.codegen.AbstractAdapterGenerator AdapterGenerator.instanciateEJB3Generator(CUBAComponent component, java.lang.String internalInterfacePackage, java.lang.String externalInterfacePackage, java.lang.String implPackage, AdapterGeneratorOptions options)
           
protected  java.lang.String EJB3AdapterGenerator.literalValue(EnvironmentEntry env)
           
 

Constructors in cuba.util.codegen that throw GeneratorException
AbstractWSAdapterGenerator(CUBAComponent component, java.lang.String internalInterfacePackage, java.lang.String externalInterfacePackage, java.lang.String implPackage, AdapterGeneratorOptions options)
          Constructor.
EJB3AdapterGenerator(CUBAComponent component, java.lang.String internalInterfacePackage, java.lang.String externalInterfacePackage, java.lang.String implPackage, AdapterGeneratorOptions options)
           
ManagedAdapterGenerator(CUBAComponent component, java.lang.String internalInterfacePackage, java.lang.String externalInterfacePackage, java.lang.String implPackage, AdapterGeneratorOptions options)
           
WSAdapterGenerator(CUBAComponent component, java.lang.String internalInterfacePackage, java.lang.String externalIntrfacePackage, java.lang.String implPackage, AdapterGeneratorOptions options)
           
WSTAdapterGenerator(CUBAComponent component, java.lang.String internalInterfacePackage, java.lang.String externalInterfacePackage, java.lang.String implPackage, AdapterGeneratorOptions options)
          Constructor.
 

Uses of GeneratorException in cuba.util.ddgen
 

Methods in cuba.util.ddgen that throw GeneratorException
 GeneratorResult DDGenerator.generate(java.util.ArrayList components, DDGeneratorOptions options)
           
 GeneratorResult WSTDDGenerator.generate(GeneratorResult result)
           
 GeneratorResult WSDDGenerator.generate(GeneratorResult result)
           
 GeneratorResult WiredDDGenerator.generate(GeneratorResult result)
           
 GeneratorResult EJB2DDGenerator.generate(GeneratorResult result)
           
abstract  GeneratorResult AbstractDDGenerator.generate(GeneratorResult result)
          Abstract Method that is called by the DDGenerator main-Method
protected  void AbstractWSDDGenerator.insertCorrectClassName(java.lang.String serviceName, java.lang.String className, GeneratorResult result)
          Inserts the correct classname in the className parameter-element of the wsdd-file, this is done because there is no way to control the output of this parameter is available (axis version 1.1)
 GeneratedFile AbstractDDGenerator.serializeDocument(org.w3c.dom.Document document, java.lang.String fileName)
          Serializes the given Document to the file specified in the filename in the outputdirectory set in the constructor
 

Constructors in cuba.util.ddgen that throw GeneratorException
AbstractDDGenerator(java.util.ArrayList components, DDGeneratorOptions options)
           
AbstractWSDDGenerator(java.util.ArrayList components, DDGeneratorOptions options)
          Constructor.
EJB2DDGenerator(java.util.ArrayList components, DDGeneratorOptions options)
           
WiredDDGenerator(java.util.ArrayList components, DDGeneratorOptions options)
           
WSDDGenerator(java.util.ArrayList components, DDGeneratorOptions options)
           
WSTDDGenerator(java.util.ArrayList components, DDGeneratorOptions options)
          Constructor.
 

Uses of GeneratorException in cuba.util.ddgen.tokens
 

Methods in cuba.util.ddgen.tokens that throw GeneratorException
 void CUBAComponent.addBaseInterceptor(java.lang.String className, java.lang.String method, java.lang.String methodType)
           
protected  void ComponentAnnotationReader.addBaseInterceptors(java.lang.Class current, CUBAComponent componentObject)
           
 void CUBAComponent.addComponentRef(ComponentReference ref)
           
 void CUBAComponent.addEntityManagerRef(EntityManagerReference ref)
           
protected  void ComponentDescriptorReader.addInterceptorMethod(org.w3c.dom.Node node, java.lang.String interceptorType, CUBAComponent componentObject)
           
 void CUBAComponent.addRef(java.util.Map refs, Reference newRef)
           
 void CUBAComponent.addResourceRef(ResourceReference ref)
           
protected  java.lang.String ComponentAnnotationReader.extractComponentScope(java.lang.String interfaceName)
           
protected  java.lang.String ComponentAnnotationReader.extractMemberName(java.lang.reflect.Method setter)
           
 java.lang.String Interception.getInterceptionMethod(java.lang.String interceptorType)
           
 boolean CUBAComponent.hasInterception(java.lang.String type)
           
 boolean CUBAComponent.hasInterception(java.lang.String type, java.util.Collection interceptors)
           
protected  void ComponentDescriptorReader.initInjection(org.w3c.dom.Element refElement, Reference ref, java.lang.Class compImplClass)
           
protected  void ComponentDescriptorReader.initReference(org.w3c.dom.Element refElement, Reference ref, java.lang.Class compImplClass)
           
protected  void ComponentAnnotationReader.initReference(Reference ref, java.lang.reflect.Field field, java.lang.String refName, java.lang.Class refType, java.lang.String link)
           
protected  void ComponentAnnotationReader.initReference(Reference ref, java.lang.reflect.Method setter, java.lang.String refName, java.lang.Class refType, java.lang.String link)
           
protected  void ComponentAnnotationReader.initReference(Reference ref, java.lang.String refName, java.lang.Class refType, java.lang.String link)
           
protected  void ComponentAnnotationReader.processClass(java.lang.String className, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processCompInterface(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processComponentRefMembers(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentDescriptorReader.processComponentRefs(org.w3c.dom.Node node, CUBAComponent componentObject, java.lang.Class compImplClass)
           
protected  void ComponentAnnotationReader.processComponentRefSetters(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processCompType(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processEntityManagerRefMembers(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processEntityManagerRefSetters(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentDescriptorReader.processEnvEntries(org.w3c.dom.Node node, CUBAComponent componentObject, java.lang.Class compImplClass)
           
protected  void ComponentAnnotationReader.processImplementedRefSetters(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentDescriptorReader.processInterceptor(org.w3c.dom.Element interceptionElement, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processInterceptorMethods(java.lang.Class interceptorClass, Interception interception)
           
protected  void ComponentAnnotationReader.processInterceptors(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentDescriptorReader.processNode(org.w3c.dom.Node node, CUBAComponent componentObject)
          Process a Node of a component-jar.xml file and add the information in the corresponding CUBAComponent object
protected  void ComponentAnnotationReader.processResource(Resource resource, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processResourceRefMembers(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentDescriptorReader.processResourceRefs(org.w3c.dom.Node node, CUBAComponent componentObject, java.lang.Class compImplClass)
           
protected  void ComponentAnnotationReader.processResourceRefSetters(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processResources(java.lang.Class compClass, CUBAComponent componentObject)
           
protected  void ComponentAnnotationReader.processTransactionAttributes(java.lang.Class compClass, TransactionAttributeType defaultAttrType, CUBAComponent componentObject)
           
protected  void ComponentDescriptorReader.processTransactionElement(org.w3c.dom.Element transactionElement, CUBAComponent componentObject)
           
 java.util.ArrayList ComponentReaderI.readComponents()
           
 java.util.ArrayList ComponentDescriptorReader.readComponents()
           
 java.util.ArrayList ComponentAnnotationReader.readComponents()
           
 void Interception.setAroundInvoke(java.lang.String aroundInvoke)
           
 void Interception.setInterceptionMethod(java.lang.String method, java.lang.String interceptorType)
           
 void Interception.setPostActivate(java.lang.String postActivate)
           
 void Interception.setPostConstruct(java.lang.String postConstruct)
           
 void Interception.setPreDestroy(java.lang.String preDestroy)
           
 void Interception.setPrePassivate(java.lang.String prePassivate)