You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2012/12/23 23:56:12 UTC

[jira] [Updated] (SQOOP-802) Sqoop2: Convert main "Manager" classes to singletons.

     [ https://issues.apache.org/jira/browse/SQOOP-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Jarcec Cecho updated SQOOP-802:
-------------------------------------

    Attachment: bugSQOOP-802.patch
    
> Sqoop2: Convert main "Manager" classes to singletons.
> -----------------------------------------------------
>
>                 Key: SQOOP-802
>                 URL: https://issues.apache.org/jira/browse/SQOOP-802
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>            Priority: Minor
>         Attachments: bugSQOOP-802.patch
>
>
> We currently have several "manager" classes in Sqoop2 - RepositoryManager, ConnectorManager or FrameworkManager. All of them have only static methods. I would like to propose changing them to normal singleton objects, so that we can spoof the instance easily when necessary (for example in tests).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira