Experimental branch to implement some framework API cleanup.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619853 13f79535-47bb-0310-9956-ffa450edef68
Small simplification: thread safety is now implemented using a static initialization rather than an AtomicReference.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619858 13f79535-47bb-0310-9956-ffa450edef68
Removed all but one of the (static) method of TransactionFactory:
* getCursorConnection(...) has been moved to TransactionUtil where it makes more sense
* removed all the wrappers method around TransactionFactoryInterface methods: they are not required now that the client code can use the interface methods


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619868 13f79535-47bb-0310-9956-ffa450edef68
Renamed the class org.ofbiz.entity.transaction.TransactionFactory into org.ofbiz.entity.transaction.TransactionFactoryLoader: this name better describe its purpose.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619871 13f79535-47bb-0310-9956-ffa450edef68
Fix for wrong class name in Javadoc

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619872 13f79535-47bb-0310-9956-ffa450edef68
EntityConfig now implements the singleton pattern; thread safety is implemented with a static initialization.
Removed the EntityConfigUtil class whose main purpose was to guarantee that only one instance of EntityConfig would be initialized (no more required since now EntityConfig is a singleton); moved a couple of its static methods to the EntityConfig class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619976 13f79535-47bb-0310-9956-ffa450edef68
Call the overloaded method instead of duplicating its content.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619977 13f79535-47bb-0310-9956-ffa450edef68
Removed unused method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619978 13f79535-47bb-0310-9956-ffa450edef68
Removed dependency of ConnectionFactory on TransactionFactoryLoader.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619979 13f79535-47bb-0310-9956-ffa450edef68
Small simplification: thread safety is now implemented using a static initialization rather than an AtomicReference.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619981 13f79535-47bb-0310-9956-ffa450edef68
Removed all the wrappers methods around ConnectionFactoryInterface methods: they are not required now that the client code can use the interface methods.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619982 13f79535-47bb-0310-9956-ffa450edef68
Moved the logic to create unmanaged connections from ConnectionFactory to DatabaseUtil where it made more sense (it is the only place where it can be used, so made it private).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619984 13f79535-47bb-0310-9956-ffa450edef68
Renamed the class org.ofbiz.entity.jdbc.ConnectionFactory into org.ofbiz.entity.jdbc.ConnectionFactoryLoader: this name better describes its purpose.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619985 13f79535-47bb-0310-9956-ffa450edef68
Fix for javadoc comment to reflect recent modifications to the API

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619986 13f79535-47bb-0310-9956-ffa450edef68
Renamed ConnectionFactoryInterface into ConnectionFactory.
Renamed TransactionFactoryInterface into TransactionFactory.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619995 13f79535-47bb-0310-9956-ffa450edef68
Renamed DumbFactory into DumbTransactionFactory.
Renamed JNDIFactory into JNDITransactionFactory.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1619999 13f79535-47bb-0310-9956-ffa450edef68
Merged latest trunk changes


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1620260 13f79535-47bb-0310-9956-ffa450edef68
Two small optimizations to TransactionUtil:
* since the information stored in allThreadsTransactionBeginStack and allThreadsTransactionBeginStackSave was only used when the log INFO level was ON, now they are not populated if it is OFF
* instead of reading the value of debugResources from EntityConfig everytime, now it does only at initialization


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1620280 13f79535-47bb-0310-9956-ffa450edef68
Removed some old deprecated methods; removed some old comments; fixed some typos in comments and logs; removed redundant class name from log messages.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1620286 13f79535-47bb-0310-9956-ffa450edef68
Cleaned up a few more debug statements.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/framework-api-cleanup@1620288 13f79535-47bb-0310-9956-ffa450edef68