Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7272 Enforce noninstantiability to all Utility classes
  3. OFBIZ-7684

Enforce noninstantiability to ServiceConfigUtil class

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Done
    • Trunk
    • 16.11.01
    • framework
    • None
    • Community Day 2 - 2016, OFBiz Community Day (May 2020)

    Description

      • Make class as final.
      • Add a private constructor.
      • Make the following public static variables as private
            public static final String engine = "default";
            public static final String SERVICE_ENGINE_XML_FILENAME = "serviceengine.xml";
        
      • Add public static method as getServiceEngineXmlFileName(), getEngine() and use them in following class
            ServiceEcaUtil.java
            ServiceGroupReader.java
            DispatchContext.java
            JobPoller.java
        

      Attachments

        1. OFBIZ-7684.patch
          6 kB
          Rahul Singh

        Activity

          People

            arunpati Arun Patidar
            rishisolankii Rishi Solanki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: