[jira] [Created] (OFBIZ-7630) Enforce noninstantiability to ServiceEcaUtil class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-7630) Enforce noninstantiability to ServiceEcaUtil class

Nicolas Malin (Jira)
Rishi Solanki created OFBIZ-7630:
------------------------------------

             Summary: Enforce noninstantiability to ServiceEcaUtil class
                 Key: OFBIZ-7630
                 URL: https://issues.apache.org/jira/browse/OFBIZ-7630
             Project: OFBiz
          Issue Type: Sub-task
          Components: framework
    Affects Versions: Trunk
            Reporter: Rishi Solanki
            Priority: Minor


- Make class as final.
- Add a private constructor.
- Make the following public static variables as private
{code}
    public static Map<String, Map<String, List<ServiceEcaRule>>> ecaCache = new ConcurrentHashMap<String, Map<String, List<ServiceEcaRule>>>();
{code}
- Make the following protected static methods as private
{code}
protected static Callable<List<ServiceEcaRule>> createEcaLoaderCallable(final ResourceHandler handler)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)