Uploaded image for project: 'IronJacamar'
  1. IronJacamar
  2. JBJCA-699

Duplicated class definitions shouldn't be allowed

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 1.1.0.Alpha4
    • 1.1.0.Alpha3
    • Code Generator
    • None

    Description

      The code generator allows the same class name to be entered multiple times:

      marti-pc:codegenerator pjuza$ sh ./codegenerator.sh
      Profile version (1.6/1.5/1.0) [1.6]: 1.5
      Type (O/Outbound/I/Inbound/B/Bidirectional) [O]: 
      Package name: com.cleverlance.smartclient.ra.httpclient
      Transaction support (N/NoTransaction/L/LocalTransaction/X/XATransaction) [N]: 
      Support reauthentication (Y/Yes/N/No) [N]: 
      Include a ResourceAdapter (Y/Yes/N/No) [Y]: 
      Resource adapter class name [AcmeResourceAdapter]: HttpClientResourceAdapterImpl
      Resource adapter config properties [enter to quit]: 
          Name: 
      Managed connection factory class name [AcmeManagedConnectionFactory]: HttpClientResourceAdapterImpl
      Managed connection factory config properties [enter to quit]: 
          Name: 
      Use ResourceAdapterAssociation (Y/Yes/N/No) [Y]: 
      Managed connection class name [AcmeManagedConnection]: HttpClientManagedConnectionImpl
      Use CCI (Y/Yes/N/No) [N]: 
      Connection factory interface class name [AcmeConnectionFactory]: HttpClientRaConnectionFactory
      Connection factory implementation class name [AcmeConnectionFactoryImpl]: HttpClientRaConnectionFactoryImpl
      Connection interface class name [AcmeConnection]: ManagedClientConnection
      Connection implementation class name [AcmeConnectionImpl]: ManagedClientConnectionImpl
      Add methods to connection interface (Y/Yes/N/No) [N]: 
      Additional managed connection factory (Y/Yes/N/No) [N]: 
      Include an admin object (Y/Yes/N/No) [N]: 
      Generate a MBean class (Y/Yes/N/No) [Y]: 
      Build environment [A/Ant/I/Ant+Ivy/M/Maven] [A]: M
      Code generated
      

      Attachments

        Activity

          People

            jeff.zhang_jira Jeff Zhang (Inactive)
            pjuza_jira Petr Juza (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: