Hi all, I read through the code. We can make it a singleton. It is thread safe in singleton mode.
thanks, dimuthu On Mon, Sep 1, 2014 at 3:01 PM, Danushka Fernando <danush...@wso2.com> wrote: > Hi > In AF RXTManager [1] is used for read / write application and version > rxts. Why is $subject? Each time we use this we create a new object of it. > Is there a specific reason for this? If not shall we make it either > singleton or static. WDYT? > > [1] > https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/components/appfac/org.wso2.carbon.appfactory.core/2.0.1/src/main/java/org/wso2/carbon/appfactory/core/governance/RxtManager.java > > Thanks & Regards > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > -- Dimuthu Leelarathne Architect & Product Lead of App Factory WSO2, Inc. (http://wso2.com) email: dimut...@wso2.com Mobile : 0773661935 Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev