David,
Thank you very much for working on this! -Adrian [hidden email] wrote: > Author: jonesde > Date: Fri Jul 17 09:56:47 2009 > New Revision: 795024 > > URL: http://svn.apache.org/viewvc?rev=795024&view=rev > Log: > Initial work on the ExecutionContext and support interfaces; note that this does not compile at this point, which is part of why it is in a branch; this includes mostly interfaces for existing framework tools and a first pass at the ExecutionContext and related interfaces; for most Java code the interface changes will require something like the organize imports in Eclipse; also none of the cleanup work has been done yet on getting and keeping references to the delegator, dispatcher, etc so work needed on those too once the context access stuff is built out for this > > Added: > ofbiz/branches/executioncontext20090716/framework/context/ > ofbiz/branches/executioncontext20090716/framework/context/build.xml (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/ > ofbiz/branches/executioncontext20090716/framework/context/src/org/ > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/ > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java > - copied, changed from r794912, ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java > - copied, changed from r794912, ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityListIterator.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericDelegator.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericEntity.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericEntityException.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericPK.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericValue.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelEntityInterface.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelFieldInterface.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelKeyMapInterface.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelRelationInterface.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/ > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericRequester.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericResultWaiter.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericServiceCallback.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericServiceException.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/JobManagerException.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/JobScheduler.java (with props) > ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/LocalDispatcher.java (with props) > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericDelegatorImpl.java > - copied, changed from r793049, ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityImpl.java > - copied, changed from r793049, ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericPKImpl.java > - copied, changed from r793049, ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericPK.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericValueImpl.java > - copied, changed from r793049, ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericValue.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityCondition.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityListIteratorImpl.java > - copied, changed from r794912, ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityListIterator.java > Removed: > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/DelegatorInterface.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericDelegator.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntity.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericPK.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericValue.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityListIterator.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericRequester.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericResultWaiter.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericServiceCallback.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericServiceException.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/LocalDispatcher.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/job/JobManagerException.java > Modified: > ofbiz/branches/executioncontext20090716/.classpath > ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java > ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java > ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java > ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java > ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java > ofbiz/branches/executioncontext20090716/framework/build.xml > ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java > ofbiz/branches/executioncontext20090716/framework/entity/build.xml > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/EntityCryptoException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericDataSourceException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityConfException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityNotFoundException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericModelException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericNotImplementedException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericResultSetClosedException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/Cache.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/EntityCache.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/EntityListCache.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionParam.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionSubSelect.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionValue.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionVisitor.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/OrderByItem.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/OrderByList.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/connection/ConnectionFactoryInterface.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/datasource/GenericHelper.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/jdbc/ConnectionFactory.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/jdbc/SqlJdbcUtil.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelField.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelKeyMap.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelReader.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelRelation.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/transaction/GenericTransactionException.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/transaction/TransactionFactory.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/transaction/TransactionFactoryInterface.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/DistributedCacheClear.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityCrypto.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java > ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/SequenceUtil.java > ofbiz/branches/executioncontext20090716/framework/entityext/src/org/ofbiz/entityext/eca/DelegatorEcaHandler.java > ofbiz/branches/executioncontext20090716/framework/service/build.xml > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/DispatchContext.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/ModelService.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/ServiceValidationException.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/job/InvalidJobException.java > ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/job/JobManager.java > ofbiz/branches/executioncontext20090716/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java > ofbiz/branches/executioncontext20090716/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceEcaArtifactInfo.java > ofbiz/branches/executioncontext20090716/framework/widget/src/org/ofbiz/widget/ContentWorkerInterface.java > > Modified: ofbiz/branches/executioncontext20090716/.classpath > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/.classpath?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/.classpath (original) > +++ ofbiz/branches/executioncontext20090716/.classpath Fri Jul 17 09:56:47 2009 > @@ -1,185 +1,186 @@ > <?xml version="1.0" encoding="UTF-8"?> > <classpath> > - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > - <classpathentry kind="src" path="framework/testtools/src"/> > - <classpathentry kind="src" path="framework/webslinger/src"/> > - <classpathentry kind="src" path="specialpurpose/oagis/src"/> > - <classpathentry kind="src" path="specialpurpose/hhfacility/src"/> > - <classpathentry kind="src" path="specialpurpose/assetmaint/src"/> > - <classpathentry kind="src" path="specialpurpose/pos/src"/> > - <classpathentry kind="src" path="specialpurpose/projectmgr/src"/> > - <classpathentry kind="src" path="specialpurpose/ebay/src"/> > - <classpathentry kind="src" path="specialpurpose/googlebase/src"/> > - <classpathentry kind="src" path="specialpurpose/googlecheckout/src"/> > - <classpathentry kind="src" path="specialpurpose/ldap/src"/> > - <classpathentry kind="src" path="framework/base/src"/> > - <classpathentry kind="src" path="framework/start/src"/> > - <classpathentry kind="src" path="framework/geronimo/src"/> > - <classpathentry excluding="org/ofbiz/accounting/thirdparty/cybersource/**|org/ofbiz/accounting/thirdparty/verisign/**|org/ofbiz/accounting/thirdparty/worldpay/**" kind="src" path="applications/accounting/src"/> > - <classpathentry excluding="org/ofbiz/content/openoffice/|org/ofbiz/content/report/" kind="src" path="applications/content/src"/> > - <classpathentry kind="src" path="specialpurpose/ecommerce/src"/> > - <classpathentry kind="src" path="applications/manufacturing/src"/> > - <classpathentry kind="src" path="applications/marketing/src"/> > - <classpathentry excluding="org/ofbiz/order/thirdparty/taxware/**" kind="src" path="applications/order/src"/> > - <classpathentry kind="src" path="applications/party/src"/> > - <classpathentry excluding="ShipmentScaleApplet.java" kind="src" path="applications/product/src"/> > - <classpathentry excluding="org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java" kind="src" path="applications/securityext/src"/> > - <classpathentry kind="src" path="applications/workeffort/src"/> > - <classpathentry kind="src" path="framework/bi/src"/> > - <classpathentry kind="src" path="framework/appserver/src"/> > - <classpathentry kind="src" path="framework/catalina/src"/> > - <classpathentry kind="src" path="framework/common/src"/> > - <classpathentry kind="src" path="framework/datafile/src"/> > - <classpathentry excluding="org/ofbiz/entity/connection/XaPoolConnectionFactory.java" kind="src" path="framework/entity/src"/> > - <classpathentry kind="src" path="framework/entityext/src"/> > - <classpathentry kind="src" path="framework/example/src"/> > - <classpathentry kind="src" path="framework/guiapp/src"/> > - <classpathentry kind="src" path="framework/jetty/src"/> > - <classpathentry kind="src" path="framework/minilang/src"/> > - <classpathentry kind="src" path="framework/security/src"/> > - <classpathentry kind="src" path="framework/service/src"/> > - <classpathentry excluding="org/enhydra/|org/ofbiz/" kind="src" path="specialpurpose/shark/src"/> > - <classpathentry excluding="org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java|org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java|org/ofbiz/webapp/view/FopPdfViewHandler.java|org/ofbiz/webapp/view/GenericViewRenderer.java|org/ofbiz/webapp/view/JPublishViewHandler.java|org/ofbiz/webapp/view/JPublishWrapper.java|org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java|org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java|org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java|org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java" kind="src" path="framework/webapp/src"/> > - <classpathentry kind="src" path="framework/webtools/src"/> > - <classpathentry kind="src" path="framework/widget/src"/> > - <classpathentry kind="src" path="specialpurpose/workflow/src"/> > - <classpathentry kind="lib" path="framework/webapp/lib/velocity-1.6.1.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/DataVision-1.0.0.jar"/> > - <classpathentry kind="lib" path="framework/service/lib/wsdl4j.jar"/> > - <classpathentry kind="lib" path="framework/service/lib/axis-ant.jar"/> > - <classpathentry kind="lib" path="framework/service/lib/axis.jar"/> > - <classpathentry kind="lib" path="framework/jetty/lib/jetty-6.1.11.jar"/> > - <classpathentry kind="lib" path="framework/jetty/lib/jetty-ajp-6.1.11.jar"/> > - <classpathentry kind="lib" path="framework/jetty/lib/jetty-sslengine-6.1.11.jar"/> > - <classpathentry kind="lib" path="framework/jetty/lib/jetty-util-6.1.11.jar"/> > - <classpathentry kind="lib" path="framework/jetty/lib/jasper-runtime-5.5.15.jar"/> > - <classpathentry kind="lib" path="framework/jetty/lib/jasper-compiler-5.5.15.jar"/> > - <classpathentry kind="lib" path="framework/guiapp/lib/XuiCoreSwing-v3.2rc2b.jar"/> > - <classpathentry kind="lib" path="framework/guiapp/lib/XuiOptional-v3.2rc2b.jar"/> > - <classpathentry kind="lib" path="applications/content/lib/poi-3.2-FINAL-20081019.jar"/> > - <classpathentry kind="lib" path="applications/content/lib/lucene-core-2.4.1.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-catalina-ha.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-catalina-tribes.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-catalina.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-jasper-el.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-jasper-jdt.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-jasper.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-coyote.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-dbcp.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli.jar"/> > - <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli-adapters.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/itext-2.0.1.jar"/> > - <classpathentry kind="lib" path="framework/geronimo/lib/geronimo-connector-2.1.1.jar"/> > - <classpathentry kind="lib" path="framework/geronimo/lib/geronimo-transaction-2.1.1.jar"/> > - <classpathentry kind="lib" path="framework/entity/lib/ofbiz-minerva.jar"/> > - <classpathentry kind="lib" path="framework/entity/lib/commons-dbcp-1.3-20080708-r674758.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/barcode4j-fop-ext-complete-2.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/batik-all-1.7.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/ical4j-1.0-beta5.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/Tidy.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/mx4j-remote-3.0.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/mx4j-3.0.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/mail.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/log4j-1.2.15.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/junitperf.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/junit.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/juel-2.1.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/jdbm-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/jakarta-regexp-1.5.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/icu4j-4_2_1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/httpunit.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/avalon-framework-4.2.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/avalon-util-exception-1.0.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/ant-1.7.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/ant-junit-1.7.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-net-1.4.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-saaj_1.1_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-qname_1.1_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jta_1.1_spec-1.1.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jms_1.1_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jaxrpc_1.1_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jaxr_1.0_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-j2ee-connector_1.5_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-activation_1.0.2_spec-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-el_2.1_spec.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-servlet_2.5_spec.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-jsp_2.1_spec.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-annotations_spec.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/jakarta-oro-2.0.8.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/jython-nooro.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/bsh-2.0b4.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/bsf-2.4.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/xml-apis-2.9.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/xml-apis-ext-1.3.04.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/xercesImpl-2.9.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/resolver-2.9.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/serializer-2.9.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/javolution-5.2.3.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-vfs-20070730.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-validator-1.3.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-primitives-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-pool-1.3.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-modeler-2.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-logging-1.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-lang-2.3.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-io-1.3.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-fileupload-1.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-el-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-discovery-0.4.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-digester-1.8.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-collections-3.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-codec-1.3.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-cli-1.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/commons/commons-beanutils-1.7.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/antlr-2.7.6.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/asm-2.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/asm-analysis-2.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/asm-tree-2.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/asm-util-2.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/scripting/groovy-1.6.0.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/jdom-1.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/jpim-0.1.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/freemarker-2.3.15.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/owasp-esapi-full-java-1.4.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/json-lib-2.2.3-jdk15.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/ezmorph-0.9.1.jar"/> > - <classpathentry kind="lib" path="specialpurpose/pos/lib/looks-2.0.2.jar"/> > - <classpathentry kind="lib" path="specialpurpose/pos/lib/jpos18-controls.jar"/> > - <classpathentry kind="lib" path="specialpurpose/pos/lib/jcl.jar"/> > - <classpathentry kind="lib" path="specialpurpose/ldap/lib/cas-server-core-3.3.jar"/> > - <classpathentry kind="lib" path="specialpurpose/googlecheckout/lib/checkout-sdk-0.8.8.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/xmlgraphics-commons-1.3.1.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/rome-0.9.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/ws-commons-java5-1.0.1.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/ws-commons-util-1.0.1.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/xmlrpc-common-3.0.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/xmlrpc-server-3.0.jar"/> > - <classpathentry kind="lib" path="framework/webapp/lib/xmlrpc-client-3.0.jar"/> > - <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> > - <classpathentry kind="lib" path="framework/base/lib/antisamy-bin.1.2.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/fop-0.95.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/nekohtml.jar"/> > - <classpathentry kind="lib" path="framework/base/lib/webslinger-base-invoker-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-cache-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-collections-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-collections-arrays-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-concurrent-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-junit-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-lang-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-logging-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-resolver-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-catalina-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-embryo-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-bsf-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-code-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-groovy-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-image-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-janino-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-servlet-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-template-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-velocity-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-wiki-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-launcher-20090630-3606-466aec2fb8ad.jar"/> > - <classpathentry kind="output" path="bin"/> > + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > + <classpathentry kind="src" path="framework/testtools/src"/> > + <classpathentry kind="src" path="framework/context/src"/> > + <classpathentry kind="src" path="framework/webslinger/src"/> > + <classpathentry kind="src" path="specialpurpose/oagis/src"/> > + <classpathentry kind="src" path="specialpurpose/hhfacility/src"/> > + <classpathentry kind="src" path="specialpurpose/assetmaint/src"/> > + <classpathentry kind="src" path="specialpurpose/pos/src"/> > + <classpathentry kind="src" path="specialpurpose/projectmgr/src"/> > + <classpathentry kind="src" path="specialpurpose/ebay/src"/> > + <classpathentry kind="src" path="specialpurpose/googlebase/src"/> > + <classpathentry kind="src" path="specialpurpose/googlecheckout/src"/> > + <classpathentry kind="src" path="specialpurpose/ldap/src"/> > + <classpathentry kind="src" path="framework/base/src"/> > + <classpathentry kind="src" path="framework/start/src"/> > + <classpathentry kind="src" path="framework/geronimo/src"/> > + <classpathentry excluding="org/ofbiz/accounting/thirdparty/cybersource/**|org/ofbiz/accounting/thirdparty/verisign/**|org/ofbiz/accounting/thirdparty/worldpay/**" kind="src" path="applications/accounting/src"/> > + <classpathentry excluding="org/ofbiz/content/openoffice/|org/ofbiz/content/report/" kind="src" path="applications/content/src"/> > + <classpathentry kind="src" path="specialpurpose/ecommerce/src"/> > + <classpathentry kind="src" path="applications/manufacturing/src"/> > + <classpathentry kind="src" path="applications/marketing/src"/> > + <classpathentry excluding="org/ofbiz/order/thirdparty/taxware/**" kind="src" path="applications/order/src"/> > + <classpathentry kind="src" path="applications/party/src"/> > + <classpathentry excluding="ShipmentScaleApplet.java" kind="src" path="applications/product/src"/> > + <classpathentry excluding="org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java" kind="src" path="applications/securityext/src"/> > + <classpathentry kind="src" path="applications/workeffort/src"/> > + <classpathentry kind="src" path="framework/bi/src"/> > + <classpathentry kind="src" path="framework/appserver/src"/> > + <classpathentry kind="src" path="framework/catalina/src"/> > + <classpathentry kind="src" path="framework/common/src"/> > + <classpathentry kind="src" path="framework/datafile/src"/> > + <classpathentry excluding="org/ofbiz/entity/connection/XaPoolConnectionFactory.java" kind="src" path="framework/entity/src"/> > + <classpathentry kind="src" path="framework/entityext/src"/> > + <classpathentry kind="src" path="framework/example/src"/> > + <classpathentry kind="src" path="framework/guiapp/src"/> > + <classpathentry kind="src" path="framework/jetty/src"/> > + <classpathentry kind="src" path="framework/minilang/src"/> > + <classpathentry kind="src" path="framework/security/src"/> > + <classpathentry kind="src" path="framework/service/src"/> > + <classpathentry excluding="org/enhydra/|org/ofbiz/" kind="src" path="specialpurpose/shark/src"/> > + <classpathentry excluding="org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java|org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java|org/ofbiz/webapp/view/FopPdfViewHandler.java|org/ofbiz/webapp/view/GenericViewRenderer.java|org/ofbiz/webapp/view/JPublishViewHandler.java|org/ofbiz/webapp/view/JPublishWrapper.java|org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java|org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java|org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java|org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java" kind="src" path="framework/webapp/src"/> > + <classpathentry kind="src" path="framework/webtools/src"/> > + <classpathentry kind="src" path="framework/widget/src"/> > + <classpathentry kind="src" path="specialpurpose/workflow/src"/> > + <classpathentry kind="lib" path="framework/webapp/lib/velocity-1.6.1.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/DataVision-1.0.0.jar"/> > + <classpathentry kind="lib" path="framework/service/lib/wsdl4j.jar"/> > + <classpathentry kind="lib" path="framework/service/lib/axis-ant.jar"/> > + <classpathentry kind="lib" path="framework/service/lib/axis.jar"/> > + <classpathentry kind="lib" path="framework/jetty/lib/jetty-6.1.11.jar"/> > + <classpathentry kind="lib" path="framework/jetty/lib/jetty-ajp-6.1.11.jar"/> > + <classpathentry kind="lib" path="framework/jetty/lib/jetty-sslengine-6.1.11.jar"/> > + <classpathentry kind="lib" path="framework/jetty/lib/jetty-util-6.1.11.jar"/> > + <classpathentry kind="lib" path="framework/jetty/lib/jasper-runtime-5.5.15.jar"/> > + <classpathentry kind="lib" path="framework/jetty/lib/jasper-compiler-5.5.15.jar"/> > + <classpathentry kind="lib" path="framework/guiapp/lib/XuiCoreSwing-v3.2rc2b.jar"/> > + <classpathentry kind="lib" path="framework/guiapp/lib/XuiOptional-v3.2rc2b.jar"/> > + <classpathentry kind="lib" path="applications/content/lib/poi-3.2-FINAL-20081019.jar"/> > + <classpathentry kind="lib" path="applications/content/lib/lucene-core-2.4.1.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-catalina-ha.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-catalina-tribes.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-catalina.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-jasper-el.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-jasper-jdt.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-jasper.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-coyote.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-dbcp.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli.jar"/> > + <classpathentry kind="lib" path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli-adapters.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/itext-2.0.1.jar"/> > + <classpathentry kind="lib" path="framework/geronimo/lib/geronimo-connector-2.1.1.jar"/> > + <classpathentry kind="lib" path="framework/geronimo/lib/geronimo-transaction-2.1.1.jar"/> > + <classpathentry kind="lib" path="framework/entity/lib/ofbiz-minerva.jar"/> > + <classpathentry kind="lib" path="framework/entity/lib/commons-dbcp-1.3-20080708-r674758.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/barcode4j-fop-ext-complete-2.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/batik-all-1.7.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/ical4j-1.0-beta5.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/Tidy.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/mx4j-remote-3.0.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/mx4j-3.0.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/mail.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/log4j-1.2.15.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/junitperf.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/junit.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/juel-2.1.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/jdbm-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/jakarta-regexp-1.5.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/icu4j-4_2_1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/httpunit.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/avalon-framework-4.2.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/avalon-util-exception-1.0.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/ant-1.7.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/ant-junit-1.7.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-net-1.4.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-saaj_1.1_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-qname_1.1_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jta_1.1_spec-1.1.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jms_1.1_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jaxrpc_1.1_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-jaxr_1.0_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-j2ee-connector_1.5_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/geronimo-activation_1.0.2_spec-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-el_2.1_spec.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-servlet_2.5_spec.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-jsp_2.1_spec.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/j2eespecs/tomcat-6.0.16-annotations_spec.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/jakarta-oro-2.0.8.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/jython-nooro.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/bsh-2.0b4.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/bsf-2.4.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/xml-apis-2.9.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/xml-apis-ext-1.3.04.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/xercesImpl-2.9.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/resolver-2.9.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/serializer-2.9.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/javolution-5.2.3.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-vfs-20070730.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-validator-1.3.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-primitives-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-pool-1.3.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-modeler-2.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-logging-1.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-lang-2.3.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-io-1.3.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-fileupload-1.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-el-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-discovery-0.4.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-digester-1.8.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-collections-3.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-codec-1.3.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-cli-1.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/commons/commons-beanutils-1.7.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/antlr-2.7.6.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/asm-2.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/asm-analysis-2.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/asm-tree-2.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/asm-util-2.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/scripting/groovy-1.6.0.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/jdom-1.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/jpim-0.1.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/freemarker-2.3.15.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/owasp-esapi-full-java-1.4.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/json-lib-2.2.3-jdk15.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/ezmorph-0.9.1.jar"/> > + <classpathentry kind="lib" path="specialpurpose/pos/lib/looks-2.0.2.jar"/> > + <classpathentry kind="lib" path="specialpurpose/pos/lib/jpos18-controls.jar"/> > + <classpathentry kind="lib" path="specialpurpose/pos/lib/jcl.jar"/> > + <classpathentry kind="lib" path="specialpurpose/ldap/lib/cas-server-core-3.3.jar"/> > + <classpathentry kind="lib" path="specialpurpose/googlecheckout/lib/checkout-sdk-0.8.8.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/xmlgraphics-commons-1.3.1.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/rome-0.9.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/ws-commons-java5-1.0.1.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/ws-commons-util-1.0.1.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/xmlrpc-common-3.0.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/xmlrpc-server-3.0.jar"/> > + <classpathentry kind="lib" path="framework/webapp/lib/xmlrpc-client-3.0.jar"/> > + <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> > + <classpathentry kind="lib" path="framework/base/lib/antisamy-bin.1.2.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/fop-0.95.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/nekohtml.jar"/> > + <classpathentry kind="lib" path="framework/base/lib/webslinger-base-invoker-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-cache-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-collections-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-collections-arrays-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-concurrent-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-junit-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-lang-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-logging-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-base-resolver-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-catalina-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-embryo-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-bsf-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-code-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-groovy-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-image-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-janino-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-servlet-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-template-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-velocity-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-extension-wiki-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="lib" path="framework/webslinger/lib/webslinger-launcher-20090630-3606-466aec2fb8ad.jar"/> > + <classpathentry kind="output" path="bin"/> > </classpath> > > Modified: ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java (original) > +++ ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java Fri Jul 17 09:56:47 2009 > @@ -23,8 +23,6 @@ > import java.io.StringWriter; > import java.io.Writer; > import java.sql.Timestamp; > -import java.util.ArrayList; > -import java.util.HashMap; > import java.util.Iterator; > import java.util.List; > import java.util.Locale; > @@ -46,10 +44,12 @@ > import org.ofbiz.base.util.string.FlexibleStringExpander; > import org.ofbiz.content.ContentManagementWorker; > import org.ofbiz.content.data.DataResourceWorker; > -import org.ofbiz.entity.GenericDelegator; > -import org.ofbiz.entity.GenericEntityException; > -import org.ofbiz.entity.GenericPK; > -import org.ofbiz.entity.GenericValue; > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.entity.GenericEntityException; > +import org.ofbiz.context.entity.GenericPK; > +import org.ofbiz.context.entity.GenericValue; > +import org.ofbiz.context.service.GenericServiceException; > +import org.ofbiz.context.service.LocalDispatcher; > import org.ofbiz.entity.condition.EntityCondition; > import org.ofbiz.entity.condition.EntityConditionList; > import org.ofbiz.entity.condition.EntityExpr; > @@ -58,8 +58,6 @@ > import org.ofbiz.minilang.MiniLangException; > import org.ofbiz.minilang.SimpleMapProcessor; > import org.ofbiz.service.DispatchContext; > -import org.ofbiz.service.GenericServiceException; > -import org.ofbiz.service.LocalDispatcher; > import org.ofbiz.service.ModelService; > import org.ofbiz.service.ServiceUtil; > import org.xml.sax.InputSource; > > Modified: ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java (original) > +++ ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java Fri Jul 17 09:56:47 2009 > @@ -21,7 +21,6 @@ > import java.math.BigDecimal; > import java.sql.Timestamp; > import java.util.ArrayList; > -import com.ibm.icu.util.Calendar; > import java.util.Collection; > import java.util.Date; > import java.util.HashMap; > @@ -38,6 +37,9 @@ > import javolution.util.FastMap; > import javolution.util.FastSet; > > +import org.ofbiz.context.entity.GenericEntityException; > +import org.ofbiz.context.service.GenericServiceException; > +import org.ofbiz.context.service.LocalDispatcher; > import org.ofbiz.base.util.Debug; > import org.ofbiz.base.util.GeneralException; > import org.ofbiz.base.util.GeneralRuntimeException; > @@ -51,12 +53,10 @@ > import org.ofbiz.common.DataModelConstants; > import org.ofbiz.entity.GenericDelegator; > import org.ofbiz.entity.GenericEntity; > -import org.ofbiz.entity.GenericEntityException; > import org.ofbiz.entity.GenericValue; > import org.ofbiz.entity.condition.EntityCondition; > import org.ofbiz.entity.condition.EntityConditionList; > import org.ofbiz.entity.condition.EntityExpr; > -import org.ofbiz.entity.condition.EntityJoinOperator; > import org.ofbiz.entity.condition.EntityOperator; > import org.ofbiz.entity.transaction.GenericTransactionException; > import org.ofbiz.entity.transaction.TransactionUtil; > @@ -76,11 +76,11 @@ > import org.ofbiz.product.store.ProductStoreWorker; > import org.ofbiz.security.Security; > import org.ofbiz.service.DispatchContext; > -import org.ofbiz.service.GenericServiceException; > -import org.ofbiz.service.LocalDispatcher; > import org.ofbiz.service.ModelService; > import org.ofbiz.service.ServiceUtil; > > +import com.ibm.icu.util.Calendar; > + > /** > * Order Processing Services > */ > > Modified: ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java (original) > +++ ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java Fri Jul 17 09:56:47 2009 > @@ -1,4 +1,4 @@ > -/******************************************************************************* > +/* > * Licensed to the Apache Software Foundation (ASF) under one > * or more contributor license agreements. See the NOTICE file > * distributed with this work for additional information > @@ -15,24 +15,17 @@ > * KIND, either express or implied. See the License for the > * specific language governing permissions and limitations > * under the License. > - *******************************************************************************/ > + */ > > package org.ofbiz.party.party; > > -import java.util.Locale; > -import java.util.Map; > - > import org.ofbiz.base.util.Debug; > import org.ofbiz.base.util.UtilFormatOut; > import org.ofbiz.base.util.UtilMisc; > -import org.ofbiz.base.util.UtilProperties; > -import org.ofbiz.entity.GenericDelegator; > -import org.ofbiz.entity.GenericEntityException; > -import org.ofbiz.entity.GenericValue; > -import org.ofbiz.entity.model.ModelEntity; > -import org.ofbiz.security.Security; > -import org.ofbiz.service.ModelService; > -import org.ofbiz.service.ServiceUtil; > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.entity.GenericEntityException; > +import org.ofbiz.context.entity.GenericValue; > +import org.ofbiz.context.entity.ModelEntityInterface; > > /** > * PartyHelper > @@ -87,7 +80,7 @@ > return ""; > } > StringBuilder result = new StringBuilder(); > - ModelEntity modelEntity = partyValue.getModelEntity(); > + ModelEntityInterface modelEntity = partyValue.getModelEntity(); > if (modelEntity.isField("firstName") && modelEntity.isField("middleName") && modelEntity.isField("lastName")) { > if (lastNameFirst) { > if (UtilFormatOut.checkNull(partyValue.getString("lastName")) != null) { > > Modified: ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java (original) > +++ ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java Fri Jul 17 09:56:47 2009 > @@ -31,19 +31,20 @@ > > import org.ofbiz.base.util.Debug; > import org.ofbiz.base.util.GeneralException; > +import org.ofbiz.base.util.GeneralRuntimeException; > import org.ofbiz.base.util.StringUtil; > import org.ofbiz.base.util.UtilHttp; > import org.ofbiz.base.util.UtilMisc; > import org.ofbiz.base.util.UtilValidate; > -import org.ofbiz.base.util.GeneralRuntimeException; > import org.ofbiz.content.content.ContentWorker; > import org.ofbiz.content.content.ContentWrapper; > -import org.ofbiz.entity.GenericDelegator; > -import org.ofbiz.entity.GenericValue; > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.entity.GenericValue; > +import org.ofbiz.context.entity.ModelEntityInterface; > +import org.ofbiz.context.service.LocalDispatcher; > import org.ofbiz.entity.model.ModelEntity; > import org.ofbiz.entity.model.ModelUtil; > import org.ofbiz.entity.util.EntityUtil; > -import org.ofbiz.service.LocalDispatcher; > > /** > * Category Content Worker: gets category content to display > @@ -126,7 +127,7 @@ > } > > String candidateFieldName = ModelUtil.dbNameToVarName(prodCatContentTypeId); > - ModelEntity categoryModel = delegator.getModelEntity("ProductCategory"); > + ModelEntityInterface categoryModel = delegator.getModelEntity("ProductCategory"); > if (categoryModel.isField(candidateFieldName)) { > if (productCategory == null) { > productCategory = delegator.findByPrimaryKeyCache("ProductCategory", UtilMisc.toMap("productCategoryId", productCategoryId)); > > Modified: ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java (original) > +++ ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java Fri Jul 17 09:56:47 2009 > @@ -38,9 +38,12 @@ > import org.ofbiz.base.util.UtilProperties; > import org.ofbiz.base.util.UtilValidate; > import org.ofbiz.common.KeywordSearchUtil; > -import org.ofbiz.entity.GenericDelegator; > -import org.ofbiz.entity.GenericEntityException; > -import org.ofbiz.entity.GenericValue; > +import org.ofbiz.context.entity.EntityFindOptions; > +import org.ofbiz.context.entity.EntityListIterator; > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.entity.GenericEntityException; > +import org.ofbiz.context.entity.GenericValue; > +import org.ofbiz.context.entity.ModelKeyMapInterface; > import org.ofbiz.entity.condition.EntityComparisonOperator; > import org.ofbiz.entity.condition.EntityCondition; > import org.ofbiz.entity.condition.EntityConditionParam; > @@ -54,8 +57,6 @@ > import org.ofbiz.entity.model.ModelViewEntity.ComplexAliasField; > import org.ofbiz.entity.transaction.GenericTransactionException; > import org.ofbiz.entity.transaction.TransactionUtil; > -import org.ofbiz.entity.util.EntityFindOptions; > -import org.ofbiz.entity.util.EntityListIterator; > import org.ofbiz.entity.util.EntityUtil; > import org.ofbiz.party.party.PartyHelper; > import org.ofbiz.product.category.CategoryContentWrapper; > @@ -819,6 +820,7 @@ > } > > > + @SuppressWarnings("serial") > public static class CatalogConstraint extends ProductSearchConstraint { > public static final String constraintName = "Catalog"; > protected String prodCatalogId; > @@ -892,6 +894,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class CategoryConstraint extends ProductSearchConstraint { > public static final String constraintName = "Category"; > protected String productCategoryId; > @@ -987,6 +990,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class FeatureConstraint extends ProductSearchConstraint { > public static final String constraintName = "Feature"; > protected String productFeatureId; > @@ -1069,6 +1073,7 @@ > } > > > + @SuppressWarnings("serial") > public static class FeatureCategoryConstraint extends ProductSearchConstraint { > public static final String constraintName = "FeatureCategory"; > protected String productFeatureCategoryId; > @@ -1149,6 +1154,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class FeatureGroupConstraint extends ProductSearchConstraint { > public static final String constraintName = "FeatureGroup"; > protected String productFeatureGroupId; > @@ -1229,6 +1235,7 @@ > } > > > + @SuppressWarnings("serial") > public static class FeatureSetConstraint extends ProductSearchConstraint { > public static final String constraintName = "Feature Set"; > protected Set<String> productFeatureIdSet; > @@ -1322,6 +1329,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class KeywordConstraint extends ProductSearchConstraint { > public static final String constraintName = "Keyword"; > protected String keywordsString; > @@ -1442,6 +1450,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class LastUpdatedRangeConstraint extends ProductSearchConstraint { > public static final String constraintName = "LastUpdatedRange"; > protected Timestamp fromDate; > @@ -1494,6 +1503,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class StoreGroupPriceConstraint extends ProductSearchConstraint { > public static final String constraintName = "StoreGroupPrice"; > protected String productStoreGroupId; > @@ -1553,6 +1563,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class ListPriceRangeConstraint extends ProductSearchConstraint { > public static final String constraintName = "ListPriceRange"; > protected BigDecimal lowPrice; > @@ -1659,6 +1670,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class SupplierConstraint extends ProductSearchConstraint { > public static final String constraintName = "Supplier"; > protected String supplierPartyId; > @@ -1709,6 +1721,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class ExcludeVariantsConstraint extends ProductSearchConstraint { > public static final String constraintName = "ExcludeVariants"; > > @@ -1740,6 +1753,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class AvailabilityDateConstraint extends ProductSearchConstraint { > public static final String constraintName = "AvailabilityDate"; > > @@ -1771,6 +1785,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class GoodIdentificationConstraint extends ProductSearchConstraint { > public static final String constraintName = "GoodIdentification"; > protected String goodIdentificationTypeId; > @@ -1868,6 +1883,7 @@ > // Result Sort Classes > // ====================================================================== > > + @SuppressWarnings("serial") > public static abstract class ResultSortOrder implements java.io.Serializable { > public ResultSortOrder() { > } > @@ -1878,6 +1894,7 @@ > public abstract boolean isAscending(); > } > > + @SuppressWarnings("serial") > public static class SortKeywordRelevancy extends ResultSortOrder { > public SortKeywordRelevancy() { > } > @@ -1907,6 +1924,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class SortProductField extends ResultSortOrder { > protected String fieldName; > protected boolean ascending; > @@ -1963,6 +1981,7 @@ > } > } > > + @SuppressWarnings("serial") > public static class SortProductPrice extends ResultSortOrder { > protected String productPriceTypeId; > protected String currencyUomId; > @@ -1992,7 +2011,7 @@ > > // SortProductPrice, this will be a bit more complex, need to add a ProductPrice member entity > productSearchContext.dynamicViewEntity.addMemberEntity("SPPRC", "ProductPrice"); > - productSearchContext.dynamicViewEntity.addViewLink("PROD", "SPPRC", Boolean.TRUE, UtilMisc.toList(new ModelKeyMap("productId", "productId"))); > + productSearchContext.dynamicViewEntity.addViewLink("PROD", "SPPRC", Boolean.TRUE, UtilMisc.<ModelKeyMapInterface>toList(new ModelKeyMap("productId", "productId"))); > productSearchContext.dynamicViewEntity.addAlias("SPPRC", "sortProductPriceTypeId", "productPriceTypeId", null, null, null, null); > productSearchContext.dynamicViewEntity.addAlias("SPPRC", "sortCurrencyUomId", "currencyUomId", null, null, null, null); > productSearchContext.dynamicViewEntity.addAlias("SPPRC", "sortProductStoreGroupId", "productStoreGroupId", null, null, null, null); > > Modified: ofbiz/branches/executioncontext20090716/framework/build.xml > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/build.xml?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/build.xml (original) > +++ ofbiz/branches/executioncontext20090716/framework/build.xml Fri Jul 17 09:56:47 2009 > @@ -23,6 +23,7 @@ > > <filelist id="framework-builds" dir="." > files="start/build.xml,base/build.xml, > + context/build.xml, > entity/build.xml,geronimo/build.xml, > catalina/build.xml,jetty/build.xml, > security/build.xml,service/build.xml,entityext/build.xml, > > Modified: ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java?rev=795024&r1=795023&r2=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java (original) > +++ ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java Fri Jul 17 09:56:47 2009 > @@ -19,7 +19,6 @@ > package org.ofbiz.common; > > import java.util.HashSet; > -import java.util.Iterator; > import java.util.List; > import java.util.Map; > import java.util.Set; > @@ -27,13 +26,14 @@ > import java.util.TreeSet; > > import javolution.util.FastMap; > + > import org.ofbiz.base.util.Debug; > import org.ofbiz.base.util.UtilMisc; > import org.ofbiz.base.util.UtilProperties; > import org.ofbiz.base.util.UtilValidate; > -import org.ofbiz.entity.GenericDelegator; > -import org.ofbiz.entity.GenericEntityException; > -import org.ofbiz.entity.GenericValue; > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.entity.GenericEntityException; > +import org.ofbiz.context.entity.GenericValue; > > /** > * A few utility methods related to Keyword Search. > > Added: ofbiz/branches/executioncontext20090716/framework/context/build.xml > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/build.xml?rev=795024&view=auto > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/context/build.xml (added) > +++ ofbiz/branches/executioncontext20090716/framework/context/build.xml Fri Jul 17 09:56:47 2009 > @@ -0,0 +1,65 @@ > +<?xml version="1.0"?> > +<!-- > +Licensed to the Apache Software Foundation (ASF) under one > +or more contributor license agreements. See the NOTICE file > +distributed with this work for additional information > +regarding copyright ownership. The ASF licenses this file > +to you under the Apache License, Version 2.0 (the > +"License"); you may not use this file except in compliance > +with the License. You may obtain a copy of the License at > + > +http://www.apache.org/licenses/LICENSE-2.0 > + > +Unless required by applicable law or agreed to in writing, > +software distributed under the License is distributed on an > +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > +KIND, either express or implied. See the License for the > +specific language governing permissions and limitations > +under the License. > +--> > + > +<project name="OFBiz - Framework Context" default="jar" basedir="."> > + <import file="../../common.xml"/> > + > + <!-- ================================================================== --> > + <!-- Initialization of all property settings --> > + <!-- ================================================================== --> > + > + <property name="desc" value="Framework Context Component"/> > + <property name="name" value="ofbiz-context"/> > + <property name="ofbiz.home.dir" value="../.."/> > + > + <path id="local.class.path"> > + <fileset dir="${lib.dir}" includes="*.jar"/> > + <fileset dir="${lib.dir}/jdbc" includes="*.jar"/> > + <fileset dir="../base/lib" includes="*.jar"/> > + <fileset dir="../base/lib/commons" includes="*.jar"/> > + <fileset dir="../base/lib/j2eespecs" includes="*.jar"/> > + <fileset dir="../base/lib/scripting" includes="*.jar"/> > + <fileset dir="../base/build/lib" includes="*.jar"/> > + </path> > + > + <!-- ================================================================== --> > + <!-- Compilation of the source files --> > + <!-- ================================================================== --> > + > + <target name="classes" depends="prepare"> > + <javac15/> > + </target> > + > + <!-- ================================================================== --> > + <!-- Build JavaDoc --> > + <!-- ================================================================== --> > + > + <target name="docs" depends="prepare-docs"> > + <javadoc packagenames="org.ofbiz.context.*" > + classpathref="local.class.path" > + destdir="${build.dir}/javadocs" > + Windowtitle="Open for Business - ${desc}"> > + <fileset dir="${src.dir}" defaultexcludes="yes"> > + <patternset refid="src.inc.set"/> > + <patternset refid="src.exc.set"/> > + </fileset> > + </javadoc> > + </target> > +</project> > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/build.xml > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/build.xml > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/build.xml > ------------------------------------------------------------------------------ > svn:mime-type = text/xml > > Added: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java?rev=795024&view=auto > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java (added) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java Fri Jul 17 09:56:47 2009 > @@ -0,0 +1,38 @@ > +/* > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + */ > +package org.ofbiz.context; > + > +import java.net.URL; > +import java.util.Map; > + > +/** > + * Interface definition for object used throughout the OFBiz Framework to manage contextual execution information and tool access interfaces. > + */ > + > +public interface ExecutionArtifactInfo { > + String getRawLocation(); > + URL getLocationURL(); > + String getName(); > + > + String getAuthorizedUserIdentifier(); > + String getAuthorizationInheritable(); > + > + Map<String, Object> getActiveArtifactContext(); > + > +} > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java > ------------------------------------------------------------------------------ > svn:mime-type = text/plain > > Added: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java?rev=795024&view=auto > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java (added) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java Fri Jul 17 09:56:47 2009 > @@ -0,0 +1,59 @@ > +/* > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + */ > +package org.ofbiz.context; > + > +import java.util.List; > +import java.util.Locale; > +import java.util.TimeZone; > + > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.service.JobScheduler; > +import org.ofbiz.context.service.LocalDispatcher; > + > +/** > + * Interface definition for object used throughout the OFBiz Framework to manage contextual execution information and tool access interfaces. > + */ > + > +public interface ExecutionContext { > + String getContextId(); > + > + GenericDelegator getDelegator(); > + GenericDelegator getDelegatorByName(String delegatorName); > + LocalDispatcher getDispatcher(); > + JobScheduler getJobScheduler(); > + > + Locale getLocale(); > + TimeZone getTimeZone(); > + /** @return String The ISO currency code */ > + String getCurrencyUom(); > + > + String getCurrentUserIdentifier(); > + String getInitialUserIdentifier(); > + void pushUserIdentifier(String userIdentifier); > + String popUserIdentifier(); > + > + String getCurrentSessionIdentifier(); > + void pushSessionIdentifier(String sessionIdentifier); > + String popSessionIdentifier(); > + > + ExecutionArtifactInfo getCurrentExecutionArtifactInfo(); > + List<ExecutionArtifactInfo> getExecutionArtifactInfoStack(); > + void pushExecutionArtifactInfo(ExecutionArtifactInfo executionArtifactInfo); > + ExecutionArtifactInfo popExecutionArtifactInfo(); > +} > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java > ------------------------------------------------------------------------------ > svn:mime-type = text/plain > > Added: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java?rev=795024&view=auto > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java (added) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java Fri Jul 17 09:56:47 2009 > @@ -0,0 +1,28 @@ > +/* > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + */ > +package org.ofbiz.context; > + > +/** > + * Interface used to get instances of objects needed for execution, especially the ExecutionContext. > + */ > + > +public interface ExecutionContextFactory { > + ExecutionContext getActiveExecutionContext(); > + void clearActiveExecutionContext(); > +} > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java > ------------------------------------------------------------------------------ > svn:mime-type = text/plain > > Added: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java?rev=795024&view=auto > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java (added) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java Fri Jul 17 09:56:47 2009 > @@ -0,0 +1,89 @@ > +/******************************************************************************* > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + *******************************************************************************/ > +package org.ofbiz.context.entity; > + > +import java.util.List; > +/** > + * This class is used for declaring Dynamic View Entities, to be used and thrown away. > + * A special method exists on the GenericDelegator to accept a DynamicViewEntity instead > + * of an entity-name. > + * > + */ > +public interface DynamicViewEntityInterface { > + /** Getter for property entityName. > + * @return Value of property entityName. > + * > + */ > + public String getEntityName(); > + > + /** Setter for property entityName. > + * @param entityName New value of property entityName. > + * > + */ > + public void setEntityName(String entityName); > + > + /** Getter for property packageName. > + * @return Value of property packageName. > + * > + */ > + public String getPackageName(); > + > + /** Setter for property packageName. > + * @param packageName New value of property packageName. > + * > + */ > + public void setPackageName(String packageName); > + > + /** Getter for property defaultResourceName. > + * @return Value of property defaultResourceName. > + * > + */ > + public String getDefaultResourceName(); > + > + /** Setter for property defaultResourceName. > + * @param defaultResourceName New value of property defaultResourceName. > + * > + */ > + public void setDefaultResourceName(String defaultResourceName); > + > + /** Getter for property title. > + * @return Value of property title. > + * > + */ > + public String getTitle(); > + > + /** Setter for property title. > + * @param title New value of property title. > + * > + */ > + public void setTitle(String title); > + > + public void addMemberEntity(String entityAlias, String entityName); > + > + public void addAliasAll(String entityAlias, String prefix); > + > + public void addAlias(String entityAlias, String name); > + > + /** Add an alias, full detail. All parameters can be null except entityAlias and name. */ > + public void addAlias(String entityAlias, String name, String field, String colAlias, Boolean primKey, Boolean groupBy, String function); > + > + public void addViewLink(String entityAlias, String relEntityAlias, Boolean relOptional, List<ModelKeyMapInterface> modelKeyMaps); > + > + public void addRelation(String type, String title, String relEntityName, List<ModelKeyMapInterface> modelKeyMaps); > +} > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java > ------------------------------------------------------------------------------ > svn:mime-type = text/plain > > Added: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java?rev=795024&view=auto > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java (added) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java Fri Jul 17 09:56:47 2009 > @@ -0,0 +1,51 @@ > +/* > + * Licensed to the Apache Software Foundation (ASF) under one > + * or more contributor license agreements. See the NOTICE file > + * distributed with this work for additional information > + * regarding copyright ownership. The ASF licenses this file > + * to you under the Apache License, Version 2.0 (the > + * "License"); you may not use this file except in compliance > + * with the License. You may obtain a copy of the License at > + * > + * http://www.apache.org/licenses/LICENSE-2.0 > + * > + * Unless required by applicable law or agreed to in writing, > + * software distributed under the License is distributed on an > + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY > + * KIND, either express or implied. See the License for the > + * specific language governing permissions and limitations > + * under the License. > + */ > +package org.ofbiz.context.entity; > + > +import java.util.Map; > + > +import javolution.lang.Reusable; > + > +/** > + * Represents the conditions to be used to constrain a query > + * <br/>An EntityCondition can represent various type of constraints, including: > + * <ul> > + * <li>EntityConditionList: a list of EntityConditions, combined with the operator specified > + * <li>EntityExpr: for simple expressions or expressions that combine EntityConditions > + * <li>EntityFieldMap: a map of fields where the field (key) equals the value, combined with the operator specified > + * </ul> > + * These can be used in various combinations using the EntityConditionList and EntityExpr objects. > + * > + */ > +public interface EntityConditionInterface extends Reusable { > + > + //public String makeWhereString(ModelEntityInterface modelEntity, List<EntityConditionParam> entityConditionParams, DatasourceInfo datasourceInfo); > + > + public void checkCondition(ModelEntityInterface modelEntity) throws GenericEntityException; > + > + public boolean entityMatches(GenericEntity entity); > + > + public Boolean eval(GenericEntity entity); > + > + public Boolean eval(GenericDelegator delegator, Map<String, ? extends Object> map); > + > + public boolean mapMatches(GenericDelegator delegator, Map<String, ? extends Object> map); > + > + public EntityConditionInterface freeze(); > +} > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java > ------------------------------------------------------------------------------ > svn:eol-style = native > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java > ------------------------------------------------------------------------------ > svn:keywords = "Date Rev Author URL Id" > > Propchange: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java > ------------------------------------------------------------------------------ > svn:mime-type = text/plain > > Copied: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java (from r794912, ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java) > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java?p2=ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java&p1=ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java&r1=794912&r2=795024&rev=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java (original) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java Fri Jul 17 09:56:47 2009 > @@ -16,10 +16,14 @@ > * specific language governing permissions and limitations > * under the License. > *******************************************************************************/ > -package org.ofbiz.entity.eca; > +package org.ofbiz.context.entity; > > -import java.util.*; > -import org.ofbiz.entity.*; > +import java.util.List; > +import java.util.Map; > + > +import org.ofbiz.context.entity.GenericDelegator; > +import org.ofbiz.context.entity.GenericEntity; > +import org.ofbiz.context.entity.GenericEntityException; > > /** > * EntityEcaHandler interface > > Copied: ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java (from r794912, ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java) > URL: http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java?p2=ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java&p1=ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java&r1=794912&r2=795024&rev=795024&view=diff > ============================================================================== > --- ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java (original) > +++ ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java Fri Jul 17 09:56:47 2009 > @@ -16,13 +16,14 @@ > * specific language governing permissions and limitations > * under the License. > *******************************************************************************/ > -package org.ofbiz.entity.util; > +package org.ofbiz.context.entity; > > import java.sql.ResultSet; > > /** > * Contains a number of variables used to select certain advanced finding options. > */ > +@SuppressWarnings("serial") > public class EntityFindOptions implements java.io.Serializable { > > /** Type constant from the java.sql.ResultSet object for convenience */ > > > |
Btw,
Instead of creating the interface ModelEntityInterface and having ModelEntity implement the interface, why not make ModelEntity an interface and make ModelEntityImpl the implementation of it. It seems to me that approach would require less re-writing of code. -Adrian Adrian Crum wrote: > David, > > Thank you very much for working on this! > > -Adrian > > [hidden email] wrote: >> Author: jonesde >> Date: Fri Jul 17 09:56:47 2009 >> New Revision: 795024 >> >> URL: http://svn.apache.org/viewvc?rev=795024&view=rev >> Log: >> Initial work on the ExecutionContext and support interfaces; note that >> this does not compile at this point, which is part of why it is in a >> branch; this includes mostly interfaces for existing framework tools >> and a first pass at the ExecutionContext and related interfaces; for >> most Java code the interface changes will require something like the >> organize imports in Eclipse; also none of the cleanup work has been >> done yet on getting and keeping references to the delegator, >> dispatcher, etc so work needed on those too once the context access >> stuff is built out for this >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/ >> >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> (with props) >> ofbiz/branches/executioncontext20090716/framework/context/src/ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/ >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ >> >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ >> >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java >> >> - copied, changed from r794912, >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java >> >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java >> >> - copied, changed from r794912, >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java >> >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityListIterator.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericDelegator.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericEntity.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericEntityException.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericPK.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/GenericValue.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelEntityInterface.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelFieldInterface.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelKeyMapInterface.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/ModelRelationInterface.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/ >> >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericRequester.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericResultWaiter.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericServiceCallback.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/GenericServiceException.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/JobManagerException.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/JobScheduler.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/service/LocalDispatcher.java >> (with props) >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericDelegatorImpl.java >> >> - copied, changed from r793049, >> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityImpl.java >> >> - copied, changed from r793049, >> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericEntity.java >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericPKImpl.java >> >> - copied, changed from r793049, >> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericPK.java >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericValueImpl.java >> >> - copied, changed from r793049, >> ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericValue.java >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityCondition.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionBase.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/DynamicViewEntity.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityListIteratorImpl.java >> >> - copied, changed from r794912, >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityListIterator.java >> >> Removed: >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/DelegatorInterface.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericDelegator.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntity.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericPK.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericValue.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityListIterator.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericRequester.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericResultWaiter.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericServiceCallback.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/GenericServiceException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/LocalDispatcher.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/job/JobManagerException.java >> >> Modified: >> ofbiz/branches/executioncontext20090716/.classpath >> >> ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java >> >> >> ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java >> >> >> ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java >> >> >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java >> >> >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java >> >> ofbiz/branches/executioncontext20090716/framework/build.xml >> >> ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java >> >> ofbiz/branches/executioncontext20090716/framework/entity/build.xml >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/EntityCryptoException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericDataSourceException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityConfException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericEntityNotFoundException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericModelException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericNotImplementedException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/GenericResultSetClosedException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/AbstractCache.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/AbstractEntityConditionCache.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/Cache.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/EntityCache.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/cache/EntityListCache.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionParam.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionSubSelect.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionValue.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/EntityConditionVisitor.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/OrderByItem.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/condition/OrderByList.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/connection/ConnectionFactoryInterface.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/datasource/GenericHelper.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/jdbc/ConnectionFactory.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/jdbc/SqlJdbcUtil.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelEntity.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelEntityChecker.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelField.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelKeyMap.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelReader.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/model/ModelRelation.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/transaction/GenericTransactionException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/transaction/TransactionFactory.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/transaction/TransactionFactoryInterface.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/DistributedCacheClear.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityCrypto.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityUtil.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/SequenceUtil.java >> >> >> ofbiz/branches/executioncontext20090716/framework/entityext/src/org/ofbiz/entityext/eca/DelegatorEcaHandler.java >> >> ofbiz/branches/executioncontext20090716/framework/service/build.xml >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/DispatchContext.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/ModelService.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/ServiceValidationException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/job/InvalidJobException.java >> >> >> ofbiz/branches/executioncontext20090716/framework/service/src/org/ofbiz/service/job/JobManager.java >> >> >> ofbiz/branches/executioncontext20090716/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java >> >> >> ofbiz/branches/executioncontext20090716/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceEcaArtifactInfo.java >> >> >> ofbiz/branches/executioncontext20090716/framework/widget/src/org/ofbiz/widget/ContentWorkerInterface.java >> >> >> Modified: ofbiz/branches/executioncontext20090716/.classpath >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/.classpath?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- ofbiz/branches/executioncontext20090716/.classpath (original) >> +++ ofbiz/branches/executioncontext20090716/.classpath Fri Jul 17 >> 09:56:47 2009 >> @@ -1,185 +1,186 @@ >> <?xml version="1.0" encoding="UTF-8"?> >> <classpath> >> - <classpathentry kind="con" >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/> >> - <classpathentry kind="src" path="framework/testtools/src"/> >> - <classpathentry kind="src" path="framework/webslinger/src"/> >> - <classpathentry kind="src" path="specialpurpose/oagis/src"/> >> - <classpathentry kind="src" path="specialpurpose/hhfacility/src"/> >> - <classpathentry kind="src" path="specialpurpose/assetmaint/src"/> >> - <classpathentry kind="src" path="specialpurpose/pos/src"/> >> - <classpathentry kind="src" path="specialpurpose/projectmgr/src"/> >> - <classpathentry kind="src" path="specialpurpose/ebay/src"/> >> - <classpathentry kind="src" path="specialpurpose/googlebase/src"/> >> - <classpathentry kind="src" >> path="specialpurpose/googlecheckout/src"/> >> - <classpathentry kind="src" path="specialpurpose/ldap/src"/> >> - <classpathentry kind="src" path="framework/base/src"/> >> - <classpathentry kind="src" path="framework/start/src"/> >> - <classpathentry kind="src" path="framework/geronimo/src"/> >> - <classpathentry >> excluding="org/ofbiz/accounting/thirdparty/cybersource/**|org/ofbiz/accounting/thirdparty/verisign/**|org/ofbiz/accounting/thirdparty/worldpay/**" >> kind="src" path="applications/accounting/src"/> >> - <classpathentry >> excluding="org/ofbiz/content/openoffice/|org/ofbiz/content/report/" >> kind="src" path="applications/content/src"/> >> - <classpathentry kind="src" path="specialpurpose/ecommerce/src"/> >> - <classpathentry kind="src" path="applications/manufacturing/src"/> >> - <classpathentry kind="src" path="applications/marketing/src"/> >> - <classpathentry excluding="org/ofbiz/order/thirdparty/taxware/**" >> kind="src" path="applications/order/src"/> >> - <classpathentry kind="src" path="applications/party/src"/> >> - <classpathentry excluding="ShipmentScaleApplet.java" kind="src" >> path="applications/product/src"/> >> - <classpathentry >> excluding="org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java" >> kind="src" path="applications/securityext/src"/> >> - <classpathentry kind="src" path="applications/workeffort/src"/> >> - <classpathentry kind="src" path="framework/bi/src"/> >> - <classpathentry kind="src" path="framework/appserver/src"/> >> - <classpathentry kind="src" path="framework/catalina/src"/> >> - <classpathentry kind="src" path="framework/common/src"/> >> - <classpathentry kind="src" path="framework/datafile/src"/> >> - <classpathentry >> excluding="org/ofbiz/entity/connection/XaPoolConnectionFactory.java" >> kind="src" path="framework/entity/src"/> >> - <classpathentry kind="src" path="framework/entityext/src"/> >> - <classpathentry kind="src" path="framework/example/src"/> >> - <classpathentry kind="src" path="framework/guiapp/src"/> >> - <classpathentry kind="src" path="framework/jetty/src"/> >> - <classpathentry kind="src" path="framework/minilang/src"/> >> - <classpathentry kind="src" path="framework/security/src"/> >> - <classpathentry kind="src" path="framework/service/src"/> >> - <classpathentry excluding="org/enhydra/|org/ofbiz/" kind="src" >> path="specialpurpose/shark/src"/> >> - <classpathentry >> excluding="org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java|org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java|org/ofbiz/webapp/view/FopPdfViewHandler.java|org/ofbiz/webapp/view/GenericViewRenderer.java|org/ofbiz/webapp/view/JPublishViewHandler.java|org/ofbiz/webapp/view/JPublishWrapper.java|org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java|org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java|org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java|org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java" >> kind="src" path="framework/webapp/src"/> >> - <classpathentry kind="src" path="framework/webtools/src"/> >> - <classpathentry kind="src" path="framework/widget/src"/> >> - <classpathentry kind="src" path="specialpurpose/workflow/src"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/velocity-1.6.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/DataVision-1.0.0.jar"/> >> - <classpathentry kind="lib" path="framework/service/lib/wsdl4j.jar"/> >> - <classpathentry kind="lib" >> path="framework/service/lib/axis-ant.jar"/> >> - <classpathentry kind="lib" path="framework/service/lib/axis.jar"/> >> - <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-6.1.11.jar"/> >> - <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-ajp-6.1.11.jar"/> >> - <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-sslengine-6.1.11.jar"/> >> - <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-util-6.1.11.jar"/> >> - <classpathentry kind="lib" >> path="framework/jetty/lib/jasper-runtime-5.5.15.jar"/> >> - <classpathentry kind="lib" >> path="framework/jetty/lib/jasper-compiler-5.5.15.jar"/> >> - <classpathentry kind="lib" >> path="framework/guiapp/lib/XuiCoreSwing-v3.2rc2b.jar"/> >> - <classpathentry kind="lib" >> path="framework/guiapp/lib/XuiOptional-v3.2rc2b.jar"/> >> - <classpathentry kind="lib" >> path="applications/content/lib/poi-3.2-FINAL-20081019.jar"/> >> - <classpathentry kind="lib" >> path="applications/content/lib/lucene-core-2.4.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-catalina-ha.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-catalina-tribes.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-catalina.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-jasper-el.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-jasper-jdt.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-jasper.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-coyote.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-dbcp.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli.jar"/> >> - <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli-adapters.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/itext-2.0.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/geronimo/lib/geronimo-connector-2.1.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/geronimo/lib/geronimo-transaction-2.1.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/entity/lib/ofbiz-minerva.jar"/> >> - <classpathentry kind="lib" >> path="framework/entity/lib/commons-dbcp-1.3-20080708-r674758.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/barcode4j-fop-ext-complete-2.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/batik-all-1.7.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/ical4j-1.0-beta5.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/Tidy.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/mx4j-remote-3.0.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/mx4j-3.0.1.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/mail.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/log4j-1.2.15.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/junitperf.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/junit.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/juel-2.1.1.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/jdbm-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/jakarta-regexp-1.5.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/icu4j-4_2_1.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/httpunit.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/avalon-framework-4.2.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/avalon-util-exception-1.0.0.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/ant-1.7.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/ant-junit-1.7.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-net-1.4.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-saaj_1.1_spec-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-qname_1.1_spec-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jta_1.1_spec-1.1.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jms_1.1_spec-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jaxrpc_1.1_spec-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jaxr_1.0_spec-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-j2ee-connector_1.5_spec-1.0.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-activation_1.0.2_spec-1.0.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-el_2.1_spec.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-servlet_2.5_spec.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-jsp_2.1_spec.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-annotations_spec.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/jakarta-oro-2.0.8.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/jython-nooro.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/bsh-2.0b4.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/bsf-2.4.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/xml-apis-2.9.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/xml-apis-ext-1.3.04.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/xercesImpl-2.9.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/resolver-2.9.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/serializer-2.9.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/javolution-5.2.3.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-vfs-20070730.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-validator-1.3.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-primitives-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-pool-1.3.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-modeler-2.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-logging-1.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-lang-2.3.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-io-1.3.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-fileupload-1.2.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-el-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-discovery-0.4.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-digester-1.8.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-collections-3.2.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-codec-1.3.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-cli-1.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-beanutils-1.7.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/antlr-2.7.6.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-2.2.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-analysis-2.2.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-tree-2.2.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-util-2.2.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/scripting/groovy-1.6.0.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/jdom-1.1.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/jpim-0.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/freemarker-2.3.15.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/owasp-esapi-full-java-1.4.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/json-lib-2.2.3-jdk15.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/ezmorph-0.9.1.jar"/> >> - <classpathentry kind="lib" >> path="specialpurpose/pos/lib/looks-2.0.2.jar"/> >> - <classpathentry kind="lib" >> path="specialpurpose/pos/lib/jpos18-controls.jar"/> >> - <classpathentry kind="lib" path="specialpurpose/pos/lib/jcl.jar"/> >> - <classpathentry kind="lib" >> path="specialpurpose/ldap/lib/cas-server-core-3.3.jar"/> >> - <classpathentry kind="lib" >> path="specialpurpose/googlecheckout/lib/checkout-sdk-0.8.8.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/xmlgraphics-commons-1.3.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/rome-0.9.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/ws-commons-java5-1.0.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/ws-commons-util-1.0.1.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/xmlrpc-common-3.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/xmlrpc-server-3.0.jar"/> >> - <classpathentry kind="lib" >> path="framework/webapp/lib/xmlrpc-client-3.0.jar"/> >> - <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/antisamy-bin.1.2.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/fop-0.95.jar"/> >> - <classpathentry kind="lib" path="framework/base/lib/nekohtml.jar"/> >> - <classpathentry kind="lib" >> path="framework/base/lib/webslinger-base-invoker-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-cache-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-collections-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-collections-arrays-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-concurrent-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-junit-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-lang-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-logging-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-resolver-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-catalina-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-embryo-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-bsf-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-code-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-groovy-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-image-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-janino-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-servlet-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-template-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-velocity-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-wiki-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-launcher-20090630-3606-466aec2fb8ad.jar"/> >> >> - <classpathentry kind="output" path="bin"/> >> + <classpathentry kind="con" >> path="org.eclipse.jdt.launching.JRE_CONTAINER"/> >> + <classpathentry kind="src" path="framework/testtools/src"/> >> + <classpathentry kind="src" path="framework/context/src"/> >> + <classpathentry kind="src" path="framework/webslinger/src"/> >> + <classpathentry kind="src" path="specialpurpose/oagis/src"/> >> + <classpathentry kind="src" path="specialpurpose/hhfacility/src"/> >> + <classpathentry kind="src" path="specialpurpose/assetmaint/src"/> >> + <classpathentry kind="src" path="specialpurpose/pos/src"/> >> + <classpathentry kind="src" path="specialpurpose/projectmgr/src"/> >> + <classpathentry kind="src" path="specialpurpose/ebay/src"/> >> + <classpathentry kind="src" path="specialpurpose/googlebase/src"/> >> + <classpathentry kind="src" >> path="specialpurpose/googlecheckout/src"/> >> + <classpathentry kind="src" path="specialpurpose/ldap/src"/> >> + <classpathentry kind="src" path="framework/base/src"/> >> + <classpathentry kind="src" path="framework/start/src"/> >> + <classpathentry kind="src" path="framework/geronimo/src"/> >> + <classpathentry >> excluding="org/ofbiz/accounting/thirdparty/cybersource/**|org/ofbiz/accounting/thirdparty/verisign/**|org/ofbiz/accounting/thirdparty/worldpay/**" >> kind="src" path="applications/accounting/src"/> >> + <classpathentry >> excluding="org/ofbiz/content/openoffice/|org/ofbiz/content/report/" >> kind="src" path="applications/content/src"/> >> + <classpathentry kind="src" path="specialpurpose/ecommerce/src"/> >> + <classpathentry kind="src" path="applications/manufacturing/src"/> >> + <classpathentry kind="src" path="applications/marketing/src"/> >> + <classpathentry excluding="org/ofbiz/order/thirdparty/taxware/**" >> kind="src" path="applications/order/src"/> >> + <classpathentry kind="src" path="applications/party/src"/> >> + <classpathentry excluding="ShipmentScaleApplet.java" kind="src" >> path="applications/product/src"/> >> + <classpathentry >> excluding="org/ofbiz/securityext/thirdparty/truition/TruitionCoReg.java" >> kind="src" path="applications/securityext/src"/> >> + <classpathentry kind="src" path="applications/workeffort/src"/> >> + <classpathentry kind="src" path="framework/bi/src"/> >> + <classpathentry kind="src" path="framework/appserver/src"/> >> + <classpathentry kind="src" path="framework/catalina/src"/> >> + <classpathentry kind="src" path="framework/common/src"/> >> + <classpathentry kind="src" path="framework/datafile/src"/> >> + <classpathentry >> excluding="org/ofbiz/entity/connection/XaPoolConnectionFactory.java" >> kind="src" path="framework/entity/src"/> >> + <classpathentry kind="src" path="framework/entityext/src"/> >> + <classpathentry kind="src" path="framework/example/src"/> >> + <classpathentry kind="src" path="framework/guiapp/src"/> >> + <classpathentry kind="src" path="framework/jetty/src"/> >> + <classpathentry kind="src" path="framework/minilang/src"/> >> + <classpathentry kind="src" path="framework/security/src"/> >> + <classpathentry kind="src" path="framework/service/src"/> >> + <classpathentry excluding="org/enhydra/|org/ofbiz/" kind="src" >> path="specialpurpose/shark/src"/> >> + <classpathentry >> excluding="org/ofbiz/webapp/ftl/FreeMarkerViewRenderer.java|org/ofbiz/webapp/ftl/JpCacheIncludeTransform.java|org/ofbiz/webapp/view/FopPdfViewHandler.java|org/ofbiz/webapp/view/GenericViewRenderer.java|org/ofbiz/webapp/view/JPublishViewHandler.java|org/ofbiz/webapp/view/JPublishWrapper.java|org/ofbiz/webapp/view/JasperReportsPdfViewHandler.java|org/ofbiz/webapp/view/JasperReportsXmlViewHandler.java|org/ofbiz/webapp/view/JasperReportsJXlsViewHandler.java|org/ofbiz/webapp/view/JasperReportsPoiXlsViewHandler.java" >> kind="src" path="framework/webapp/src"/> >> + <classpathentry kind="src" path="framework/webtools/src"/> >> + <classpathentry kind="src" path="framework/widget/src"/> >> + <classpathentry kind="src" path="specialpurpose/workflow/src"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/velocity-1.6.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/DataVision-1.0.0.jar"/> >> + <classpathentry kind="lib" path="framework/service/lib/wsdl4j.jar"/> >> + <classpathentry kind="lib" >> path="framework/service/lib/axis-ant.jar"/> >> + <classpathentry kind="lib" path="framework/service/lib/axis.jar"/> >> + <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-6.1.11.jar"/> >> + <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-ajp-6.1.11.jar"/> >> + <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-sslengine-6.1.11.jar"/> >> + <classpathentry kind="lib" >> path="framework/jetty/lib/jetty-util-6.1.11.jar"/> >> + <classpathentry kind="lib" >> path="framework/jetty/lib/jasper-runtime-5.5.15.jar"/> >> + <classpathentry kind="lib" >> path="framework/jetty/lib/jasper-compiler-5.5.15.jar"/> >> + <classpathentry kind="lib" >> path="framework/guiapp/lib/XuiCoreSwing-v3.2rc2b.jar"/> >> + <classpathentry kind="lib" >> path="framework/guiapp/lib/XuiOptional-v3.2rc2b.jar"/> >> + <classpathentry kind="lib" >> path="applications/content/lib/poi-3.2-FINAL-20081019.jar"/> >> + <classpathentry kind="lib" >> path="applications/content/lib/lucene-core-2.4.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-catalina-ha.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-catalina-tribes.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-catalina.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-jasper-el.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-jasper-jdt.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-jasper.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-coyote.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-dbcp.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli.jar"/> >> + <classpathentry kind="lib" >> path="framework/catalina/lib/tomcat-6.0.16-tomcat-juli-adapters.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/itext-2.0.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/geronimo/lib/geronimo-connector-2.1.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/geronimo/lib/geronimo-transaction-2.1.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/entity/lib/ofbiz-minerva.jar"/> >> + <classpathentry kind="lib" >> path="framework/entity/lib/commons-dbcp-1.3-20080708-r674758.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/barcode4j-fop-ext-complete-2.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/batik-all-1.7.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/ical4j-1.0-beta5.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/Tidy.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/mx4j-remote-3.0.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/mx4j-3.0.1.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/mail.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/log4j-1.2.15.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/junitperf.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/junit.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/juel-2.1.1.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/jdbm-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/jakarta-regexp-1.5.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/icu4j-4_2_1.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/httpunit.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/avalon-framework-4.2.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/avalon-util-exception-1.0.0.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/ant-1.7.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/ant-junit-1.7.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-net-1.4.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-saaj_1.1_spec-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-qname_1.1_spec-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jta_1.1_spec-1.1.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jms_1.1_spec-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jaxrpc_1.1_spec-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-jaxr_1.0_spec-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-j2ee-connector_1.5_spec-1.0.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/geronimo-activation_1.0.2_spec-1.0.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-el_2.1_spec.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-servlet_2.5_spec.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-jsp_2.1_spec.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/j2eespecs/tomcat-6.0.16-annotations_spec.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/jakarta-oro-2.0.8.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/jython-nooro.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/bsh-2.0b4.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/bsf-2.4.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/xml-apis-2.9.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/xml-apis-ext-1.3.04.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/xercesImpl-2.9.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/resolver-2.9.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/serializer-2.9.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/javolution-5.2.3.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-vfs-20070730.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-validator-1.3.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-primitives-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-pool-1.3.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-modeler-2.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-logging-1.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-lang-2.3.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-io-1.3.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-fileupload-1.2.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-el-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-discovery-0.4.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-digester-1.8.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-collections-3.2.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-codec-1.3.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-cli-1.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/commons/commons-beanutils-1.7.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/antlr-2.7.6.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-2.2.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-analysis-2.2.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-tree-2.2.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/asm-util-2.2.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/scripting/groovy-1.6.0.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/jdom-1.1.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/jpim-0.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/freemarker-2.3.15.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/owasp-esapi-full-java-1.4.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/json-lib-2.2.3-jdk15.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/ezmorph-0.9.1.jar"/> >> + <classpathentry kind="lib" >> path="specialpurpose/pos/lib/looks-2.0.2.jar"/> >> + <classpathentry kind="lib" >> path="specialpurpose/pos/lib/jpos18-controls.jar"/> >> + <classpathentry kind="lib" path="specialpurpose/pos/lib/jcl.jar"/> >> + <classpathentry kind="lib" >> path="specialpurpose/ldap/lib/cas-server-core-3.3.jar"/> >> + <classpathentry kind="lib" >> path="specialpurpose/googlecheckout/lib/checkout-sdk-0.8.8.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/xmlgraphics-commons-1.3.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/rome-0.9.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/ws-commons-java5-1.0.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/ws-commons-util-1.0.1.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/xmlrpc-common-3.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/xmlrpc-server-3.0.jar"/> >> + <classpathentry kind="lib" >> path="framework/webapp/lib/xmlrpc-client-3.0.jar"/> >> + <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/antisamy-bin.1.2.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/fop-0.95.jar"/> >> + <classpathentry kind="lib" path="framework/base/lib/nekohtml.jar"/> >> + <classpathentry kind="lib" >> path="framework/base/lib/webslinger-base-invoker-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-cache-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-collections-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-collections-arrays-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-concurrent-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-junit-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-lang-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-logging-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-base-resolver-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-catalina-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-embryo-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-bsf-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-code-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-groovy-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-image-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-janino-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-servlet-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-template-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-velocity-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-extension-wiki-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="lib" >> path="framework/webslinger/lib/webslinger-launcher-20090630-3606-466aec2fb8ad.jar"/> >> >> + <classpathentry kind="output" path="bin"/> >> </classpath> >> >> Modified: >> ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/applications/content/src/org/ofbiz/content/content/ContentWorker.java >> Fri Jul 17 09:56:47 2009 >> @@ -23,8 +23,6 @@ >> import java.io.StringWriter; >> import java.io.Writer; >> import java.sql.Timestamp; >> -import java.util.ArrayList; >> -import java.util.HashMap; >> import java.util.Iterator; >> import java.util.List; >> import java.util.Locale; >> @@ -46,10 +44,12 @@ >> import org.ofbiz.base.util.string.FlexibleStringExpander; >> import org.ofbiz.content.ContentManagementWorker; >> import org.ofbiz.content.data.DataResourceWorker; >> -import org.ofbiz.entity.GenericDelegator; >> -import org.ofbiz.entity.GenericEntityException; >> -import org.ofbiz.entity.GenericPK; >> -import org.ofbiz.entity.GenericValue; >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.entity.GenericEntityException; >> +import org.ofbiz.context.entity.GenericPK; >> +import org.ofbiz.context.entity.GenericValue; >> +import org.ofbiz.context.service.GenericServiceException; >> +import org.ofbiz.context.service.LocalDispatcher; >> import org.ofbiz.entity.condition.EntityCondition; >> import org.ofbiz.entity.condition.EntityConditionList; >> import org.ofbiz.entity.condition.EntityExpr; >> @@ -58,8 +58,6 @@ >> import org.ofbiz.minilang.MiniLangException; >> import org.ofbiz.minilang.SimpleMapProcessor; >> import org.ofbiz.service.DispatchContext; >> -import org.ofbiz.service.GenericServiceException; >> -import org.ofbiz.service.LocalDispatcher; >> import org.ofbiz.service.ModelService; >> import org.ofbiz.service.ServiceUtil; >> import org.xml.sax.InputSource; >> >> Modified: >> ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/applications/order/src/org/ofbiz/order/order/OrderServices.java >> Fri Jul 17 09:56:47 2009 >> @@ -21,7 +21,6 @@ >> import java.math.BigDecimal; >> import java.sql.Timestamp; >> import java.util.ArrayList; >> -import com.ibm.icu.util.Calendar; >> import java.util.Collection; >> import java.util.Date; >> import java.util.HashMap; >> @@ -38,6 +37,9 @@ >> import javolution.util.FastMap; >> import javolution.util.FastSet; >> >> +import org.ofbiz.context.entity.GenericEntityException; >> +import org.ofbiz.context.service.GenericServiceException; >> +import org.ofbiz.context.service.LocalDispatcher; >> import org.ofbiz.base.util.Debug; >> import org.ofbiz.base.util.GeneralException; >> import org.ofbiz.base.util.GeneralRuntimeException; >> @@ -51,12 +53,10 @@ >> import org.ofbiz.common.DataModelConstants; >> import org.ofbiz.entity.GenericDelegator; >> import org.ofbiz.entity.GenericEntity; >> -import org.ofbiz.entity.GenericEntityException; >> import org.ofbiz.entity.GenericValue; >> import org.ofbiz.entity.condition.EntityCondition; >> import org.ofbiz.entity.condition.EntityConditionList; >> import org.ofbiz.entity.condition.EntityExpr; >> -import org.ofbiz.entity.condition.EntityJoinOperator; >> import org.ofbiz.entity.condition.EntityOperator; >> import org.ofbiz.entity.transaction.GenericTransactionException; >> import org.ofbiz.entity.transaction.TransactionUtil; >> @@ -76,11 +76,11 @@ >> import org.ofbiz.product.store.ProductStoreWorker; >> import org.ofbiz.security.Security; >> import org.ofbiz.service.DispatchContext; >> -import org.ofbiz.service.GenericServiceException; >> -import org.ofbiz.service.LocalDispatcher; >> import org.ofbiz.service.ModelService; >> import org.ofbiz.service.ServiceUtil; >> >> +import com.ibm.icu.util.Calendar; >> + >> /** >> * Order Processing Services >> */ >> >> Modified: >> ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/applications/party/src/org/ofbiz/party/party/PartyHelper.java >> Fri Jul 17 09:56:47 2009 >> @@ -1,4 +1,4 @@ >> -/******************************************************************************* >> >> +/* >> * Licensed to the Apache Software Foundation (ASF) under one >> * or more contributor license agreements. See the NOTICE file >> * distributed with this work for additional information >> @@ -15,24 +15,17 @@ >> * KIND, either express or implied. See the License for the >> * specific language governing permissions and limitations >> * under the License. >> - >> *******************************************************************************/ >> >> + */ >> >> package org.ofbiz.party.party; >> >> -import java.util.Locale; >> -import java.util.Map; >> - >> import org.ofbiz.base.util.Debug; >> import org.ofbiz.base.util.UtilFormatOut; >> import org.ofbiz.base.util.UtilMisc; >> -import org.ofbiz.base.util.UtilProperties; >> -import org.ofbiz.entity.GenericDelegator; >> -import org.ofbiz.entity.GenericEntityException; >> -import org.ofbiz.entity.GenericValue; >> -import org.ofbiz.entity.model.ModelEntity; >> -import org.ofbiz.security.Security; >> -import org.ofbiz.service.ModelService; >> -import org.ofbiz.service.ServiceUtil; >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.entity.GenericEntityException; >> +import org.ofbiz.context.entity.GenericValue; >> +import org.ofbiz.context.entity.ModelEntityInterface; >> >> /** >> * PartyHelper >> @@ -87,7 +80,7 @@ >> return ""; >> } >> StringBuilder result = new StringBuilder(); >> - ModelEntity modelEntity = partyValue.getModelEntity(); >> + ModelEntityInterface modelEntity = partyValue.getModelEntity(); >> if (modelEntity.isField("firstName") && >> modelEntity.isField("middleName") && modelEntity.isField("lastName")) { >> if (lastNameFirst) { >> if >> (UtilFormatOut.checkNull(partyValue.getString("lastName")) != null) { >> >> Modified: >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/category/CategoryContentWrapper.java >> Fri Jul 17 09:56:47 2009 >> @@ -31,19 +31,20 @@ >> >> import org.ofbiz.base.util.Debug; >> import org.ofbiz.base.util.GeneralException; >> +import org.ofbiz.base.util.GeneralRuntimeException; >> import org.ofbiz.base.util.StringUtil; >> import org.ofbiz.base.util.UtilHttp; >> import org.ofbiz.base.util.UtilMisc; >> import org.ofbiz.base.util.UtilValidate; >> -import org.ofbiz.base.util.GeneralRuntimeException; >> import org.ofbiz.content.content.ContentWorker; >> import org.ofbiz.content.content.ContentWrapper; >> -import org.ofbiz.entity.GenericDelegator; >> -import org.ofbiz.entity.GenericValue; >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.entity.GenericValue; >> +import org.ofbiz.context.entity.ModelEntityInterface; >> +import org.ofbiz.context.service.LocalDispatcher; >> import org.ofbiz.entity.model.ModelEntity; >> import org.ofbiz.entity.model.ModelUtil; >> import org.ofbiz.entity.util.EntityUtil; >> -import org.ofbiz.service.LocalDispatcher; >> >> /** >> * Category Content Worker: gets category content to display >> @@ -126,7 +127,7 @@ >> } >> >> String candidateFieldName = >> ModelUtil.dbNameToVarName(prodCatContentTypeId); >> - ModelEntity categoryModel = >> delegator.getModelEntity("ProductCategory"); >> + ModelEntityInterface categoryModel = >> delegator.getModelEntity("ProductCategory"); >> if (categoryModel.isField(candidateFieldName)) { >> if (productCategory == null) { >> productCategory = >> delegator.findByPrimaryKeyCache("ProductCategory", >> UtilMisc.toMap("productCategoryId", productCategoryId)); >> >> Modified: >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/applications/product/src/org/ofbiz/product/product/ProductSearch.java >> Fri Jul 17 09:56:47 2009 >> @@ -38,9 +38,12 @@ >> import org.ofbiz.base.util.UtilProperties; >> import org.ofbiz.base.util.UtilValidate; >> import org.ofbiz.common.KeywordSearchUtil; >> -import org.ofbiz.entity.GenericDelegator; >> -import org.ofbiz.entity.GenericEntityException; >> -import org.ofbiz.entity.GenericValue; >> +import org.ofbiz.context.entity.EntityFindOptions; >> +import org.ofbiz.context.entity.EntityListIterator; >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.entity.GenericEntityException; >> +import org.ofbiz.context.entity.GenericValue; >> +import org.ofbiz.context.entity.ModelKeyMapInterface; >> import org.ofbiz.entity.condition.EntityComparisonOperator; >> import org.ofbiz.entity.condition.EntityCondition; >> import org.ofbiz.entity.condition.EntityConditionParam; >> @@ -54,8 +57,6 @@ >> import org.ofbiz.entity.model.ModelViewEntity.ComplexAliasField; >> import org.ofbiz.entity.transaction.GenericTransactionException; >> import org.ofbiz.entity.transaction.TransactionUtil; >> -import org.ofbiz.entity.util.EntityFindOptions; >> -import org.ofbiz.entity.util.EntityListIterator; >> import org.ofbiz.entity.util.EntityUtil; >> import org.ofbiz.party.party.PartyHelper; >> import org.ofbiz.product.category.CategoryContentWrapper; >> @@ -819,6 +820,7 @@ >> } >> >> >> + @SuppressWarnings("serial") >> public static class CatalogConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "Catalog"; >> protected String prodCatalogId; >> @@ -892,6 +894,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class CategoryConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "Category"; >> protected String productCategoryId; >> @@ -987,6 +990,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class FeatureConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "Feature"; >> protected String productFeatureId; >> @@ -1069,6 +1073,7 @@ >> } >> >> >> + @SuppressWarnings("serial") >> public static class FeatureCategoryConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "FeatureCategory"; >> protected String productFeatureCategoryId; >> @@ -1149,6 +1154,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class FeatureGroupConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "FeatureGroup"; >> protected String productFeatureGroupId; >> @@ -1229,6 +1235,7 @@ >> } >> >> >> + @SuppressWarnings("serial") >> public static class FeatureSetConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "Feature Set"; >> protected Set<String> productFeatureIdSet; >> @@ -1322,6 +1329,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class KeywordConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "Keyword"; >> protected String keywordsString; >> @@ -1442,6 +1450,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class LastUpdatedRangeConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "LastUpdatedRange"; >> protected Timestamp fromDate; >> @@ -1494,6 +1503,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class StoreGroupPriceConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "StoreGroupPrice"; >> protected String productStoreGroupId; >> @@ -1553,6 +1563,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class ListPriceRangeConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "ListPriceRange"; >> protected BigDecimal lowPrice; >> @@ -1659,6 +1670,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class SupplierConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "Supplier"; >> protected String supplierPartyId; >> @@ -1709,6 +1721,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class ExcludeVariantsConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "ExcludeVariants"; >> >> @@ -1740,6 +1753,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class AvailabilityDateConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = "AvailabilityDate"; >> >> @@ -1771,6 +1785,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class GoodIdentificationConstraint extends >> ProductSearchConstraint { >> public static final String constraintName = >> "GoodIdentification"; >> protected String goodIdentificationTypeId; >> @@ -1868,6 +1883,7 @@ >> // Result Sort Classes >> // >> ====================================================================== >> >> + @SuppressWarnings("serial") >> public static abstract class ResultSortOrder implements >> java.io.Serializable { >> public ResultSortOrder() { >> } >> @@ -1878,6 +1894,7 @@ >> public abstract boolean isAscending(); >> } >> >> + @SuppressWarnings("serial") >> public static class SortKeywordRelevancy extends ResultSortOrder { >> public SortKeywordRelevancy() { >> } >> @@ -1907,6 +1924,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class SortProductField extends ResultSortOrder { >> protected String fieldName; >> protected boolean ascending; >> @@ -1963,6 +1981,7 @@ >> } >> } >> >> + @SuppressWarnings("serial") >> public static class SortProductPrice extends ResultSortOrder { >> protected String productPriceTypeId; >> protected String currencyUomId; >> @@ -1992,7 +2011,7 @@ >> >> // SortProductPrice, this will be a bit more complex, >> need to add a ProductPrice member entity >> >> productSearchContext.dynamicViewEntity.addMemberEntity("SPPRC", >> "ProductPrice"); >> - >> productSearchContext.dynamicViewEntity.addViewLink("PROD", "SPPRC", >> Boolean.TRUE, UtilMisc.toList(new ModelKeyMap("productId", >> "productId"))); >> + >> productSearchContext.dynamicViewEntity.addViewLink("PROD", "SPPRC", >> Boolean.TRUE, UtilMisc.<ModelKeyMapInterface>toList(new >> ModelKeyMap("productId", "productId"))); >> productSearchContext.dynamicViewEntity.addAlias("SPPRC", >> "sortProductPriceTypeId", "productPriceTypeId", null, null, null, null); >> productSearchContext.dynamicViewEntity.addAlias("SPPRC", >> "sortCurrencyUomId", "currencyUomId", null, null, null, null); >> productSearchContext.dynamicViewEntity.addAlias("SPPRC", >> "sortProductStoreGroupId", "productStoreGroupId", null, null, null, >> null); >> >> Modified: ofbiz/branches/executioncontext20090716/framework/build.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/build.xml?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- ofbiz/branches/executioncontext20090716/framework/build.xml >> (original) >> +++ ofbiz/branches/executioncontext20090716/framework/build.xml Fri >> Jul 17 09:56:47 2009 >> @@ -23,6 +23,7 @@ >> >> <filelist id="framework-builds" dir="." >> files="start/build.xml,base/build.xml, >> + context/build.xml, >> entity/build.xml,geronimo/build.xml, >> catalina/build.xml,jetty/build.xml, >> security/build.xml,service/build.xml,entityext/build.xml, >> >> Modified: >> ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java?rev=795024&r1=795023&r2=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/framework/common/src/org/ofbiz/common/KeywordSearchUtil.java >> Fri Jul 17 09:56:47 2009 >> @@ -19,7 +19,6 @@ >> package org.ofbiz.common; >> >> import java.util.HashSet; >> -import java.util.Iterator; >> import java.util.List; >> import java.util.Map; >> import java.util.Set; >> @@ -27,13 +26,14 @@ >> import java.util.TreeSet; >> >> import javolution.util.FastMap; >> + >> import org.ofbiz.base.util.Debug; >> import org.ofbiz.base.util.UtilMisc; >> import org.ofbiz.base.util.UtilProperties; >> import org.ofbiz.base.util.UtilValidate; >> -import org.ofbiz.entity.GenericDelegator; >> -import org.ofbiz.entity.GenericEntityException; >> -import org.ofbiz.entity.GenericValue; >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.entity.GenericEntityException; >> +import org.ofbiz.context.entity.GenericValue; >> >> /** >> * A few utility methods related to Keyword Search. >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/build.xml?rev=795024&view=auto >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> (added) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> Fri Jul 17 09:56:47 2009 >> @@ -0,0 +1,65 @@ >> +<?xml version="1.0"?> >> +<!-- >> +Licensed to the Apache Software Foundation (ASF) under one >> +or more contributor license agreements. See the NOTICE file >> +distributed with this work for additional information >> +regarding copyright ownership. The ASF licenses this file >> +to you under the Apache License, Version 2.0 (the >> +"License"); you may not use this file except in compliance >> +with the License. You may obtain a copy of the License at >> + >> +http://www.apache.org/licenses/LICENSE-2.0 >> + >> +Unless required by applicable law or agreed to in writing, >> +software distributed under the License is distributed on an >> +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> +KIND, either express or implied. See the License for the >> +specific language governing permissions and limitations >> +under the License. >> +--> >> + >> +<project name="OFBiz - Framework Context" default="jar" basedir="."> >> + <import file="../../common.xml"/> >> + >> + <!-- >> ================================================================== --> >> + <!-- Initialization of all property >> settings --> >> + <!-- >> ================================================================== --> >> + >> + <property name="desc" value="Framework Context Component"/> >> + <property name="name" value="ofbiz-context"/> >> + <property name="ofbiz.home.dir" value="../.."/> >> + >> + <path id="local.class.path"> >> + <fileset dir="${lib.dir}" includes="*.jar"/> >> + <fileset dir="${lib.dir}/jdbc" includes="*.jar"/> >> + <fileset dir="../base/lib" includes="*.jar"/> >> + <fileset dir="../base/lib/commons" includes="*.jar"/> >> + <fileset dir="../base/lib/j2eespecs" includes="*.jar"/> >> + <fileset dir="../base/lib/scripting" includes="*.jar"/> >> + <fileset dir="../base/build/lib" includes="*.jar"/> >> + </path> >> + >> + <!-- >> ================================================================== --> >> + <!-- Compilation of the source >> files >> --> >> + <!-- >> ================================================================== --> >> + >> + <target name="classes" depends="prepare"> >> + <javac15/> >> + </target> >> + >> + <!-- >> ================================================================== --> >> + <!-- Build >> JavaDoc --> >> + <!-- >> ================================================================== --> >> + >> + <target name="docs" depends="prepare-docs"> >> + <javadoc packagenames="org.ofbiz.context.*" >> + classpathref="local.class.path" >> + destdir="${build.dir}/javadocs" >> + Windowtitle="Open for Business - ${desc}"> >> + <fileset dir="${src.dir}" defaultexcludes="yes"> >> + <patternset refid="src.inc.set"/> >> + <patternset refid="src.exc.set"/> >> + </fileset> >> + </javadoc> >> + </target> >> +</project> >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> ------------------------------------------------------------------------------ >> >> svn:eol-style = native >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> ------------------------------------------------------------------------------ >> >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/build.xml >> ------------------------------------------------------------------------------ >> >> svn:mime-type = text/xml >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java?rev=795024&view=auto >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> (added) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> Fri Jul 17 09:56:47 2009 >> @@ -0,0 +1,38 @@ >> +/* >> + * Licensed to the Apache Software Foundation (ASF) under one >> + * or more contributor license agreements. See the NOTICE file >> + * distributed with this work for additional information >> + * regarding copyright ownership. The ASF licenses this file >> + * to you under the Apache License, Version 2.0 (the >> + * "License"); you may not use this file except in compliance >> + * with the License. You may obtain a copy of the License at >> + * >> + * http://www.apache.org/licenses/LICENSE-2.0 >> + * >> + * Unless required by applicable law or agreed to in writing, >> + * software distributed under the License is distributed on an >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + * KIND, either express or implied. See the License for the >> + * specific language governing permissions and limitations >> + * under the License. >> + */ >> +package org.ofbiz.context; >> + >> +import java.net.URL; >> +import java.util.Map; >> + >> +/** >> + * Interface definition for object used throughout the OFBiz >> Framework to manage contextual execution information and tool access >> interfaces. >> + */ >> + >> +public interface ExecutionArtifactInfo { >> + String getRawLocation(); >> + URL getLocationURL(); >> + String getName(); >> + + String getAuthorizedUserIdentifier(); >> + String getAuthorizationInheritable(); >> + + Map<String, Object> getActiveArtifactContext(); >> + +} >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> >> ------------------------------------------------------------------------------ >> >> svn:eol-style = native >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> >> ------------------------------------------------------------------------------ >> >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionArtifactInfo.java >> >> ------------------------------------------------------------------------------ >> >> svn:mime-type = text/plain >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java?rev=795024&view=auto >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> (added) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> Fri Jul 17 09:56:47 2009 >> @@ -0,0 +1,59 @@ >> +/* >> + * Licensed to the Apache Software Foundation (ASF) under one >> + * or more contributor license agreements. See the NOTICE file >> + * distributed with this work for additional information >> + * regarding copyright ownership. The ASF licenses this file >> + * to you under the Apache License, Version 2.0 (the >> + * "License"); you may not use this file except in compliance >> + * with the License. You may obtain a copy of the License at >> + * >> + * http://www.apache.org/licenses/LICENSE-2.0 >> + * >> + * Unless required by applicable law or agreed to in writing, >> + * software distributed under the License is distributed on an >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + * KIND, either express or implied. See the License for the >> + * specific language governing permissions and limitations >> + * under the License. >> + */ >> +package org.ofbiz.context; >> + >> +import java.util.List; >> +import java.util.Locale; >> +import java.util.TimeZone; >> + >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.service.JobScheduler; >> +import org.ofbiz.context.service.LocalDispatcher; >> + >> +/** >> + * Interface definition for object used throughout the OFBiz >> Framework to manage contextual execution information and tool access >> interfaces. >> + */ >> + >> +public interface ExecutionContext { >> + String getContextId(); >> + + GenericDelegator getDelegator(); >> + GenericDelegator getDelegatorByName(String delegatorName); >> + LocalDispatcher getDispatcher(); >> + JobScheduler getJobScheduler(); >> + + Locale getLocale(); >> + TimeZone getTimeZone(); >> + /** @return String The ISO currency code */ >> + String getCurrencyUom(); >> + + String getCurrentUserIdentifier(); >> + String getInitialUserIdentifier(); >> + void pushUserIdentifier(String userIdentifier); >> + String popUserIdentifier(); >> + >> + String getCurrentSessionIdentifier(); >> + void pushSessionIdentifier(String sessionIdentifier); >> + String popSessionIdentifier(); >> + + ExecutionArtifactInfo getCurrentExecutionArtifactInfo(); >> + List<ExecutionArtifactInfo> getExecutionArtifactInfoStack(); >> + void pushExecutionArtifactInfo(ExecutionArtifactInfo >> executionArtifactInfo); >> + ExecutionArtifactInfo popExecutionArtifactInfo(); >> +} >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> >> ------------------------------------------------------------------------------ >> >> svn:eol-style = native >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> >> ------------------------------------------------------------------------------ >> >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContext.java >> >> ------------------------------------------------------------------------------ >> >> svn:mime-type = text/plain >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java?rev=795024&view=auto >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> (added) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> Fri Jul 17 09:56:47 2009 >> @@ -0,0 +1,28 @@ >> +/* >> + * Licensed to the Apache Software Foundation (ASF) under one >> + * or more contributor license agreements. See the NOTICE file >> + * distributed with this work for additional information >> + * regarding copyright ownership. The ASF licenses this file >> + * to you under the Apache License, Version 2.0 (the >> + * "License"); you may not use this file except in compliance >> + * with the License. You may obtain a copy of the License at >> + * >> + * http://www.apache.org/licenses/LICENSE-2.0 >> + * >> + * Unless required by applicable law or agreed to in writing, >> + * software distributed under the License is distributed on an >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + * KIND, either express or implied. See the License for the >> + * specific language governing permissions and limitations >> + * under the License. >> + */ >> +package org.ofbiz.context; >> + >> +/** >> + * Interface used to get instances of objects needed for execution, >> especially the ExecutionContext. >> + */ >> + >> +public interface ExecutionContextFactory { >> + ExecutionContext getActiveExecutionContext(); >> + void clearActiveExecutionContext(); >> +} >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> >> ------------------------------------------------------------------------------ >> >> svn:eol-style = native >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> >> ------------------------------------------------------------------------------ >> >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/ExecutionContextFactory.java >> >> ------------------------------------------------------------------------------ >> >> svn:mime-type = text/plain >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java?rev=795024&view=auto >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> (added) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> Fri Jul 17 09:56:47 2009 >> @@ -0,0 +1,89 @@ >> +/******************************************************************************* >> >> + * Licensed to the Apache Software Foundation (ASF) under one >> + * or more contributor license agreements. See the NOTICE file >> + * distributed with this work for additional information >> + * regarding copyright ownership. The ASF licenses this file >> + * to you under the Apache License, Version 2.0 (the >> + * "License"); you may not use this file except in compliance >> + * with the License. You may obtain a copy of the License at >> + * >> + * http://www.apache.org/licenses/LICENSE-2.0 >> + * >> + * Unless required by applicable law or agreed to in writing, >> + * software distributed under the License is distributed on an >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + * KIND, either express or implied. See the License for the >> + * specific language governing permissions and limitations >> + * under the License. >> + >> *******************************************************************************/ >> >> +package org.ofbiz.context.entity; >> + >> +import java.util.List; >> +/** >> + * This class is used for declaring Dynamic View Entities, to be used >> and thrown away. >> + * A special method exists on the GenericDelegator to accept a >> DynamicViewEntity instead >> + * of an entity-name. >> + * >> + */ >> +public interface DynamicViewEntityInterface { >> + /** Getter for property entityName. >> + * @return Value of property entityName. >> + * >> + */ >> + public String getEntityName(); >> + >> + /** Setter for property entityName. >> + * @param entityName New value of property entityName. >> + * >> + */ >> + public void setEntityName(String entityName); >> + >> + /** Getter for property packageName. >> + * @return Value of property packageName. >> + * >> + */ >> + public String getPackageName(); >> + >> + /** Setter for property packageName. >> + * @param packageName New value of property packageName. >> + * >> + */ >> + public void setPackageName(String packageName); >> + >> + /** Getter for property defaultResourceName. >> + * @return Value of property defaultResourceName. >> + * >> + */ >> + public String getDefaultResourceName(); >> + >> + /** Setter for property defaultResourceName. >> + * @param defaultResourceName New value of property >> defaultResourceName. >> + * >> + */ >> + public void setDefaultResourceName(String defaultResourceName); >> + >> + /** Getter for property title. >> + * @return Value of property title. >> + * >> + */ >> + public String getTitle(); >> + >> + /** Setter for property title. >> + * @param title New value of property title. >> + * >> + */ >> + public void setTitle(String title); >> + >> + public void addMemberEntity(String entityAlias, String entityName); >> + >> + public void addAliasAll(String entityAlias, String prefix); >> + >> + public void addAlias(String entityAlias, String name); >> + >> + /** Add an alias, full detail. All parameters can be null except >> entityAlias and name. */ >> + public void addAlias(String entityAlias, String name, String >> field, String colAlias, Boolean primKey, Boolean groupBy, String >> function); >> + >> + public void addViewLink(String entityAlias, String >> relEntityAlias, Boolean relOptional, List<ModelKeyMapInterface> >> modelKeyMaps); >> + >> + public void addRelation(String type, String title, String >> relEntityName, List<ModelKeyMapInterface> modelKeyMaps); >> +} >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> >> ------------------------------------------------------------------------------ >> >> svn:eol-style = native >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> >> ------------------------------------------------------------------------------ >> >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/DynamicViewEntityInterface.java >> >> ------------------------------------------------------------------------------ >> >> svn:mime-type = text/plain >> >> Added: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java?rev=795024&view=auto >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> (added) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> Fri Jul 17 09:56:47 2009 >> @@ -0,0 +1,51 @@ >> +/* >> + * Licensed to the Apache Software Foundation (ASF) under one >> + * or more contributor license agreements. See the NOTICE file >> + * distributed with this work for additional information >> + * regarding copyright ownership. The ASF licenses this file >> + * to you under the Apache License, Version 2.0 (the >> + * "License"); you may not use this file except in compliance >> + * with the License. You may obtain a copy of the License at >> + * >> + * http://www.apache.org/licenses/LICENSE-2.0 >> + * >> + * Unless required by applicable law or agreed to in writing, >> + * software distributed under the License is distributed on an >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY >> + * KIND, either express or implied. See the License for the >> + * specific language governing permissions and limitations >> + * under the License. >> + */ >> +package org.ofbiz.context.entity; >> + >> +import java.util.Map; >> + >> +import javolution.lang.Reusable; >> + >> +/** >> + * Represents the conditions to be used to constrain a query >> + * <br/>An EntityCondition can represent various type of constraints, >> including: >> + * <ul> >> + * <li>EntityConditionList: a list of EntityConditions, combined >> with the operator specified >> + * <li>EntityExpr: for simple expressions or expressions that >> combine EntityConditions >> + * <li>EntityFieldMap: a map of fields where the field (key) equals >> the value, combined with the operator specified >> + * </ul> >> + * These can be used in various combinations using the >> EntityConditionList and EntityExpr objects. >> + * >> + */ >> +public interface EntityConditionInterface extends Reusable { >> + >> + //public String makeWhereString(ModelEntityInterface modelEntity, >> List<EntityConditionParam> entityConditionParams, DatasourceInfo >> datasourceInfo); >> + >> + public void checkCondition(ModelEntityInterface modelEntity) >> throws GenericEntityException; >> + >> + public boolean entityMatches(GenericEntity entity); >> + >> + public Boolean eval(GenericEntity entity); >> + >> + public Boolean eval(GenericDelegator delegator, Map<String, ? >> extends Object> map); >> + >> + public boolean mapMatches(GenericDelegator delegator, Map<String, >> ? extends Object> map); >> + >> + public EntityConditionInterface freeze(); >> +} >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> >> ------------------------------------------------------------------------------ >> >> svn:eol-style = native >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> >> ------------------------------------------------------------------------------ >> >> svn:keywords = "Date Rev Author URL Id" >> >> Propchange: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityConditionInterface.java >> >> ------------------------------------------------------------------------------ >> >> svn:mime-type = text/plain >> >> Copied: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java >> (from r794912, >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java) >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java?p2=ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java&p1=ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java&r1=794912&r2=795024&rev=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/EntityEcaHandler.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityEcaHandler.java >> Fri Jul 17 09:56:47 2009 >> @@ -16,10 +16,14 @@ >> * specific language governing permissions and limitations >> * under the License. >> >> *******************************************************************************/ >> >> -package org.ofbiz.entity.eca; >> +package org.ofbiz.context.entity; >> >> -import java.util.*; >> -import org.ofbiz.entity.*; >> +import java.util.List; >> +import java.util.Map; >> + >> +import org.ofbiz.context.entity.GenericDelegator; >> +import org.ofbiz.context.entity.GenericEntity; >> +import org.ofbiz.context.entity.GenericEntityException; >> >> /** >> * EntityEcaHandler interface >> >> Copied: >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java >> (from r794912, >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java) >> >> URL: >> http://svn.apache.org/viewvc/ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java?p2=ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java&p1=ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java&r1=794912&r2=795024&rev=795024&view=diff >> >> ============================================================================== >> >> --- >> ofbiz/branches/executioncontext20090716/framework/entity/src/org/ofbiz/entity/util/EntityFindOptions.java >> (original) >> +++ >> ofbiz/branches/executioncontext20090716/framework/context/src/org/ofbiz/context/entity/EntityFindOptions.java >> Fri Jul 17 09:56:47 2009 >> @@ -16,13 +16,14 @@ >> * specific language governing permissions and limitations >> * under the License. >> >> *******************************************************************************/ >> >> -package org.ofbiz.entity.util; >> +package org.ofbiz.context.entity; >> >> import java.sql.ResultSet; >> >> /** >> * Contains a number of variables used to select certain advanced >> finding options. >> */ >> +@SuppressWarnings("serial") >> public class EntityFindOptions implements java.io.Serializable { >> >> /** Type constant from the java.sql.ResultSet object for >> convenience */ >> >> >> > |
There is a basic reason for this, and it's because I'm lazy and also not sure how many of these "lower level" objects we even want interfaces for. By doing it this way the ModelEntityInterface object is not meant to be used as a straight replacement of ModelEntity and does not have all of the methods of ModelEntity exposed through it. If I were to use the "Impl" pattern (which I did in many other places) instead of the "Interface" pattern then I'd really want to have the interface do everything the old object did. For this particular entity there are dozens of old methods that have little value and many are unused. In general I also didn't want these interfaces to include ANY of the lower level stuff, and am thinking of simplifying these even more to just include the basic stuff. I originally didn't go for any of them at all, but they are actually used quite a bit so as the refactor propagation goes on we'll see how things look... -David On Jul 17, 2009, at 9:03 AM, Adrian Crum wrote: > Btw, > > Instead of creating the interface ModelEntityInterface and having > ModelEntity implement the interface, why not make ModelEntity an > interface and make ModelEntityImpl the implementation of it. It > seems to me that approach would require less re-writing of code. > > -Adrian > > Adrian Crum wrote: >> David, >> Thank you very much for working on this! >> -Adrian >> [hidden email] wrote: >>> Author: jonesde >>> Date: Fri Jul 17 09:56:47 2009 >>> New Revision: 795024 >>> >>> URL: http://svn.apache.org/viewvc?rev=795024&view=rev >>> Log: >>> Initial work on the ExecutionContext and support interfaces; note >>> that this does not compile at this point, which is part of why it >>> is in a branch; this includes mostly interfaces for existing >>> framework tools and a first pass at the ExecutionContext and >>> related interfaces; for most Java code the interface changes will >>> require something like the organize imports in Eclipse; also none >>> of the cleanup work has been done yet on getting and keeping >>> references to the delegator, dispatcher, etc so work needed on >>> those too once the context access stuff is built out for this >>> >>> Added: >>> ofbiz/branches/executioncontext20090716/framework/context/ >>> ofbiz/branches/executioncontext20090716/framework/context/ >>> build.xml (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/ >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/ >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/ExecutionArtifactInfo.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/ExecutionContext.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/ExecutionContextFactory.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/ >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/DynamicViewEntityInterface.java (with >>> props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/EntityConditionInterface.java (with >>> props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/EntityEcaHandler.java >>> - copied, changed from r794912, ofbiz/branches/ >>> executioncontext20090716/framework/entity/src/org/ofbiz/entity/eca/ >>> EntityEcaHandler.java >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/EntityFindOptions.java >>> - copied, changed from r794912, ofbiz/branches/ >>> executioncontext20090716/framework/entity/src/org/ofbiz/entity/ >>> util/EntityFindOptions.java >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/EntityListIterator.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/GenericDelegator.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/GenericEntity.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/GenericEntityException.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/GenericPK.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/GenericValue.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/ModelEntityInterface.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/ModelFieldInterface.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/ModelKeyMapInterface.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/entity/ModelRelationInterface.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/ >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/GenericRequester.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/GenericResultWaiter.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/GenericServiceCallback.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/GenericServiceException.java (with >>> props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/JobManagerException.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/JobScheduler.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/context/src/ >>> org/ofbiz/context/service/LocalDispatcher.java (with props) >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericDelegatorImpl.java >>> - copied, changed from r793049, ofbiz/trunk/framework/entity/ >>> src/org/ofbiz/entity/GenericDelegator.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericEntityImpl.java >>> - copied, changed from r793049, ofbiz/trunk/framework/entity/ >>> src/org/ofbiz/entity/GenericEntity.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericPKImpl.java >>> - copied, changed from r793049, ofbiz/trunk/framework/entity/ >>> src/org/ofbiz/entity/GenericPK.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericValueImpl.java >>> - copied, changed from r793049, ofbiz/trunk/framework/entity/ >>> src/org/ofbiz/entity/GenericValue.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/EntityCondition.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/EntityConditionBase.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/DynamicViewEntity.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/EntityListIteratorImpl.java >>> - copied, changed from r794912, ofbiz/branches/ >>> executioncontext20090716/framework/entity/src/org/ofbiz/entity/ >>> util/EntityListIterator.java >>> Removed: >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/DelegatorInterface.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericDelegator.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericEntity.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericEntityException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericPK.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericValue.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/eca/EntityEcaHandler.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/EntityFindOptions.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/EntityListIterator.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/GenericRequester.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/GenericResultWaiter.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/GenericServiceCallback.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/GenericServiceException.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/LocalDispatcher.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/job/JobManagerException.java >>> Modified: >>> ofbiz/branches/executioncontext20090716/.classpath >>> ofbiz/branches/executioncontext20090716/applications/content/ >>> src/org/ofbiz/content/content/ContentWorker.java >>> ofbiz/branches/executioncontext20090716/applications/order/src/ >>> org/ofbiz/order/order/OrderServices.java >>> ofbiz/branches/executioncontext20090716/applications/party/src/ >>> org/ofbiz/party/party/PartyHelper.java >>> ofbiz/branches/executioncontext20090716/applications/product/ >>> src/org/ofbiz/product/category/CategoryContentWrapper.java >>> ofbiz/branches/executioncontext20090716/applications/product/ >>> src/org/ofbiz/product/product/ProductSearch.java >>> ofbiz/branches/executioncontext20090716/framework/build.xml >>> ofbiz/branches/executioncontext20090716/framework/common/src/ >>> org/ofbiz/common/KeywordSearchUtil.java >>> ofbiz/branches/executioncontext20090716/framework/entity/ >>> build.xml >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/EntityCryptoException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericDataSourceException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericEntityConfException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericEntityNotFoundException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericModelException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericNotImplementedException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/GenericResultSetClosedException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/cache/AbstractCache.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/cache/AbstractEntityConditionCache.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/cache/Cache.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/cache/EntityCache.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/cache/EntityListCache.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/EntityConditionParam.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/EntityConditionSubSelect.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/EntityConditionValue.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/EntityConditionVisitor.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/OrderByItem.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/condition/OrderByList.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/connection/ConnectionFactoryInterface.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/datasource/GenericHelper.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/jdbc/ConnectionFactory.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/jdbc/SqlJdbcUtil.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/ModelEntity.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/ModelEntityChecker.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/ModelField.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/ModelKeyMap.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/ModelReader.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/model/ModelRelation.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/transaction/GenericTransactionException.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/transaction/TransactionFactory.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/transaction/TransactionFactoryInterface.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/DistributedCacheClear.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/EntityCrypto.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/EntityUtil.java >>> ofbiz/branches/executioncontext20090716/framework/entity/src/ >>> org/ofbiz/entity/util/SequenceUtil.java >>> ofbiz/branches/executioncontext20090716/framework/entityext/src/ >>> org/ofbiz/entityext/eca/DelegatorEcaHandler.java >>> ofbiz/branches/executioncontext20090716/framework/service/ >>> build.xml >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/DispatchContext.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/ModelService.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/ServiceValidationException.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/job/InvalidJobException.java >>> ofbiz/branches/executioncontext20090716/framework/service/src/ >>> org/ofbiz/service/job/JobManager.java >>> ofbiz/branches/executioncontext20090716/framework/webtools/src/ >>> org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java >>> ofbiz/branches/executioncontext20090716/framework/webtools/src/ >>> org/ofbiz/webtools/artifactinfo/ServiceEcaArtifactInfo.java >>> ofbiz/branches/executioncontext20090716/framework/widget/src/ >>> org/ofbiz/widget/ContentWorkerInterface.java |
In reply to this post by Adrian Crum
--- On Fri, 7/17/09, David E Jones <[hidden email]> wrote: > There is a basic reason for this, and it's because I'm lazy > and also not sure how many of these "lower level" objects we > even want interfaces for. My preference would be to change all of it to interfaces. Higher level code should interact with interfaces - not concrete classes (dependency inversion). Keep in mind you're not alone in this effort - I'm available to help. -Adrian |
In reply to this post by Adrian Crum
+1 for interfaces.
in Eclipse you notified when there is changes to the interface. Eclipse will add the missing items to the classes that depend on the interface. Plus they are good place to do Docs on the usage. Adrian Crum sent the following on 7/17/2009 5:07 PM: > --- On Fri, 7/17/09, David E Jones <[hidden email]> wrote: >> There is a basic reason for this, and it's because I'm lazy >> and also not sure how many of these "lower level" objects we >> even want interfaces for. > > My preference would be to change all of it to interfaces. Higher level code should interact with interfaces - not concrete classes (dependency inversion). > > Keep in mind you're not alone in this effort - I'm available to help. > > -Adrian > > > > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
In reply to this post by Adrian Crum-2
I'm bumping this because I might have some time this weekend to help.
David - I would like to work on converting some of the frequently used lower-level concrete classes to interfaces. You didn't reply when I suggested it before. Do you have any objections? Also, if that conversion is done, it could be done in the trunk - negating the need for a branch. In other words, once the higher level code is using interfaces, you can muck around with the implementations all you want. -Adrian --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: > From: Adrian Crum <[hidden email]> > Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/executioncontext20090716: ./ applications/content/src/org/ofbiz/content/content/ applications/order/src/org/ofbiz/order/order/ applications/party/src/org/ofbiz/party/party/ applications/product/src/org/ofb... > To: [hidden email] > Date: Friday, July 17, 2009, 5:07 PM > > --- On Fri, 7/17/09, David E Jones <[hidden email]> > wrote: > > There is a basic reason for this, and it's because I'm > lazy > > and also not sure how many of these "lower level" > objects we > > even want interfaces for. > > My preference would be to change all of it to interfaces. > Higher level code should interact with interfaces - not > concrete classes (dependency inversion). > > Keep in mind you're not alone in this effort - I'm > available to help. > > -Adrian > > > > > |
+1
Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Aug 5, 2009, at 5:21 PM, Adrian Crum wrote: > I'm bumping this because I might have some time this weekend to help. > > David - I would like to work on converting some of the frequently > used lower-level concrete classes to interfaces. You didn't reply > when I suggested it before. Do you have any objections? > > Also, if that conversion is done, it could be done in the trunk - > negating the need for a branch. In other words, once the higher > level code is using interfaces, you can muck around with the > implementations all you want. > > -Adrian > > --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: > >> From: Adrian Crum <[hidden email]> >> Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/ >> executioncontext20090716: ./ applications/content/src/org/ofbiz/ >> content/content/ applications/order/src/org/ofbiz/order/order/ >> applications/party/src/org/ofbiz/party/party/ applications/product/ >> src/org/ofb... >> To: [hidden email] >> Date: Friday, July 17, 2009, 5:07 PM >> >> --- On Fri, 7/17/09, David E Jones <[hidden email]> >> wrote: >>> There is a basic reason for this, and it's because I'm >> lazy >>> and also not sure how many of these "lower level" >> objects we >>> even want interfaces for. >> >> My preference would be to change all of it to interfaces. >> Higher level code should interact with interfaces - not >> concrete classes (dependency inversion). >> >> Keep in mind you're not alone in this effort - I'm >> available to help. >> >> -Adrian >> >> >> >> >> > > > smime.p7s (3K) Download Attachment |
In reply to this post by Adrian Crum-2
+1.
Hope you can separate the jar into -api.jar and -Impl.jar. Regards, Shi Yusen/Beijing Langhua Ltd. 在 2009-08-05三的 16:21 -0700,Adrian Crum写道: > I'm bumping this because I might have some time this weekend to help. > > David - I would like to work on converting some of the frequently used lower-level concrete classes to interfaces. You didn't reply when I suggested it before. Do you have any objections? > > Also, if that conversion is done, it could be done in the trunk - negating the need for a branch. In other words, once the higher level code is using interfaces, you can muck around with the implementations all you want. > > -Adrian > > --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: > > > From: Adrian Crum <[hidden email]> > > Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/executioncontext20090716: ./ applications/content/src/org/ofbiz/content/content/ applications/order/src/org/ofbiz/order/order/ applications/party/src/org/ofbiz/party/party/ applications/product/src/org/ofb... > > To: [hidden email] > > Date: Friday, July 17, 2009, 5:07 PM > > > > --- On Fri, 7/17/09, David E Jones <[hidden email]> > > wrote: > > > There is a basic reason for this, and it's because I'm > > lazy > > > and also not sure how many of these "lower level" > > objects we > > > even want interfaces for. > > > > My preference would be to change all of it to interfaces. > > Higher level code should interact with interfaces - not > > concrete classes (dependency inversion). > > > > Keep in mind you're not alone in this effort - I'm > > available to help. > > > > -Adrian > > > > > > > > > > > > > |
In reply to this post by Adrian Crum-2
The main objection I have is the one I mentioned before. That's why didn't really answer again. That objection is just that we want interfaces for the higher-level objects that people are more likely to use in application code, and it doesn't really make sense to have interfaces for everything (not for any reason I can think of anyway). -David On Aug 5, 2009, at 5:21 PM, Adrian Crum wrote: > I'm bumping this because I might have some time this weekend to help. > > David - I would like to work on converting some of the frequently > used lower-level concrete classes to interfaces. You didn't reply > when I suggested it before. Do you have any objections? > > Also, if that conversion is done, it could be done in the trunk - > negating the need for a branch. In other words, once the higher > level code is using interfaces, you can muck around with the > implementations all you want. > > -Adrian > > --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: > >> From: Adrian Crum <[hidden email]> >> Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/ >> executioncontext20090716: ./ applications/content/src/org/ofbiz/ >> content/content/ applications/order/src/org/ofbiz/order/order/ >> applications/party/src/org/ofbiz/party/party/ applications/product/ >> src/org/ofb... >> To: [hidden email] >> Date: Friday, July 17, 2009, 5:07 PM >> >> --- On Fri, 7/17/09, David E Jones <[hidden email]> >> wrote: >>> There is a basic reason for this, and it's because I'm >> lazy >>> and also not sure how many of these "lower level" >> objects we >>> even want interfaces for. >> >> My preference would be to change all of it to interfaces. >> Higher level code should interact with interfaces - not >> concrete classes (dependency inversion). >> >> Keep in mind you're not alone in this effort - I'm >> available to help. >> >> -Adrian >> >> >> >> >> > > > |
The reason why it makes sense is demonstrated in the work you started - you can make changes to the implementation without affecting the client code.
Another reason it makes sense is so that the implementation can be swapped out by a user - Security is a good example. By the way, I have the ExecutionContext working with all artifacts except the entity engine. I'm working on the entity engine changes now. -Adrian --- On Fri, 8/7/09, David E Jones <[hidden email]> wrote: > From: David E Jones <[hidden email]> > Subject: Re: Discussion: ExecutionContext > To: [hidden email] > Date: Friday, August 7, 2009, 6:01 PM > > The main objection I have is the one I mentioned before. > That's why didn't really answer again. > > That objection is just that we want interfaces for the > higher-level objects that people are more likely to use in > application code, and it doesn't really make sense to have > interfaces for everything (not for any reason I can think of > anyway). > > -David > > > On Aug 5, 2009, at 5:21 PM, Adrian Crum wrote: > > > I'm bumping this because I might have some time this > weekend to help. > > > > David - I would like to work on converting some of the > frequently used lower-level concrete classes to interfaces. > You didn't reply when I suggested it before. Do you have any > objections? > > > > Also, if that conversion is done, it could be done in > the trunk - negating the need for a branch. In other words, > once the higher level code is using interfaces, you can muck > around with the implementations all you want. > > > > -Adrian > > > > --- On Fri, 7/17/09, Adrian Crum <[hidden email]> > wrote: > > > >> From: Adrian Crum <[hidden email]> > >> Subject: Re: svn commit: r795024 [1/6] - in > /ofbiz/branches/executioncontext20090716: ./ > applications/content/src/org/ofbiz/content/content/ > applications/order/src/org/ofbiz/order/order/ > applications/party/src/org/ofbiz/party/party/ > applications/product/src/org/ofb... > >> To: [hidden email] > >> Date: Friday, July 17, 2009, 5:07 PM > >> > >> --- On Fri, 7/17/09, David E Jones <[hidden email]> > >> wrote: > >>> There is a basic reason for this, and it's > because I'm > >> lazy > >>> and also not sure how many of these "lower > level" > >> objects we > >>> even want interfaces for. > >> > >> My preference would be to change all of it to > interfaces. > >> Higher level code should interact with interfaces > - not > >> concrete classes (dependency inversion). > >> > >> Keep in mind you're not alone in this effort - > I'm > >> available to help. > >> > >> -Adrian > >> > >> > >> > >> > >> > > > > > > > > |
Security IS the best example I can think of where interfaces (and
corresponding other implementations to other systems) would make OFBiz even more flexible. It's been something people ask about all of the time. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Aug 7, 2009, at 9:01 PM, Adrian Crum wrote: > The reason why it makes sense is demonstrated in the work you > started - you can make changes to the implementation without > affecting the client code. > > Another reason it makes sense is so that the implementation can be > swapped out by a user - Security is a good example. > > By the way, I have the ExecutionContext working with all artifacts > except the entity engine. I'm working on the entity engine changes > now. > > -Adrian > > --- On Fri, 8/7/09, David E Jones <[hidden email]> wrote: > >> From: David E Jones <[hidden email]> >> Subject: Re: Discussion: ExecutionContext >> To: [hidden email] >> Date: Friday, August 7, 2009, 6:01 PM >> >> The main objection I have is the one I mentioned before. >> That's why didn't really answer again. >> >> That objection is just that we want interfaces for the >> higher-level objects that people are more likely to use in >> application code, and it doesn't really make sense to have >> interfaces for everything (not for any reason I can think of >> anyway). >> >> -David >> >> >> On Aug 5, 2009, at 5:21 PM, Adrian Crum wrote: >> >>> I'm bumping this because I might have some time this >> weekend to help. >>> >>> David - I would like to work on converting some of the >> frequently used lower-level concrete classes to interfaces. >> You didn't reply when I suggested it before. Do you have any >> objections? >>> >>> Also, if that conversion is done, it could be done in >> the trunk - negating the need for a branch. In other words, >> once the higher level code is using interfaces, you can muck >> around with the implementations all you want. >>> >>> -Adrian >>> >>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> >> wrote: >>> >>>> From: Adrian Crum <[hidden email]> >>>> Subject: Re: svn commit: r795024 [1/6] - in >> /ofbiz/branches/executioncontext20090716: ./ >> applications/content/src/org/ofbiz/content/content/ >> applications/order/src/org/ofbiz/order/order/ >> applications/party/src/org/ofbiz/party/party/ >> applications/product/src/org/ofb... >>>> To: [hidden email] >>>> Date: Friday, July 17, 2009, 5:07 PM >>>> >>>> --- On Fri, 7/17/09, David E Jones <[hidden email]> >>>> wrote: >>>>> There is a basic reason for this, and it's >> because I'm >>>> lazy >>>>> and also not sure how many of these "lower >> level" >>>> objects we >>>>> even want interfaces for. >>>> >>>> My preference would be to change all of it to >> interfaces. >>>> Higher level code should interact with interfaces >> - not >>>> concrete classes (dependency inversion). >>>> >>>> Keep in mind you're not alone in this effort - >> I'm >>>> available to help. >>>> >>>> -Adrian >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> > > > smime.p7s (3K) Download Attachment |
In reply to this post by Adrian Crum-2
It seems to me that DispatchContext plays a similar role as
ExecutionContext - as far as being a container of artifacts used by services. I'm thinking DispatchContext could decorate an ExecutionContext instance, and then the service engine wouldn't need to have another object to pass around. -Adrian Adrian Crum wrote: > I'm bumping this because I might have some time this weekend to help. > > David - I would like to work on converting some of the frequently used lower-level concrete classes to interfaces. You didn't reply when I suggested it before. Do you have any objections? > > Also, if that conversion is done, it could be done in the trunk - negating the need for a branch. In other words, once the higher level code is using interfaces, you can muck around with the implementations all you want. > > -Adrian > > --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: > >> From: Adrian Crum <[hidden email]> >> Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/executioncontext20090716: ./ applications/content/src/org/ofbiz/content/content/ applications/order/src/org/ofbiz/order/order/ applications/party/src/org/ofbiz/party/party/ applications/product/src/org/ofb... >> To: [hidden email] >> Date: Friday, July 17, 2009, 5:07 PM >> >> --- On Fri, 7/17/09, David E Jones <[hidden email]> >> wrote: >>> There is a basic reason for this, and it's because I'm >> lazy >>> and also not sure how many of these "lower level" >> objects we >>> even want interfaces for. >> My preference would be to change all of it to interfaces. >> Higher level code should interact with interfaces - not >> concrete classes (dependency inversion). >> >> Keep in mind you're not alone in this effort - I'm >> available to help. >> >> -Adrian >> >> >> >> >> > > > > |
Actually I was planning on using the ExecutionContext instead of the DispatchContext. We could have a DispatchContext interface that extends the ExecutionContext one if we can get that to make it easier to update services written Java (ie just require something like the Eclipse organize imports to get things working again). -David On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: > It seems to me that DispatchContext plays a similar role as > ExecutionContext - as far as being a container of artifacts used by > services. I'm thinking DispatchContext could decorate an > ExecutionContext instance, and then the service engine wouldn't need > to have another object to pass around. > > -Adrian > > > Adrian Crum wrote: >> I'm bumping this because I might have some time this weekend to help. >> David - I would like to work on converting some of the frequently >> used lower-level concrete classes to interfaces. You didn't reply >> when I suggested it before. Do you have any objections? >> Also, if that conversion is done, it could be done in the trunk - >> negating the need for a branch. In other words, once the higher >> level code is using interfaces, you can muck around with the >> implementations all you want. >> -Adrian >> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: >>> From: Adrian Crum <[hidden email]> >>> Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/ >>> executioncontext20090716: ./ applications/content/src/org/ofbiz/ >>> content/content/ applications/order/src/org/ofbiz/order/order/ >>> applications/party/src/org/ofbiz/party/party/ applications/product/ >>> src/org/ofb... >>> To: [hidden email] >>> Date: Friday, July 17, 2009, 5:07 PM >>> >>> --- On Fri, 7/17/09, David E Jones <[hidden email]> >>> wrote: >>>> There is a basic reason for this, and it's because I'm >>> lazy >>>> and also not sure how many of these "lower level" >>> objects we >>>> even want interfaces for. >>> My preference would be to change all of it to interfaces. >>> Higher level code should interact with interfaces - not >>> concrete classes (dependency inversion). >>> >>> Keep in mind you're not alone in this effort - I'm >>> available to help. >>> >>> -Adrian >>> >>> >>> >>> >> |
One potential problem there (and it's not a biggie, just something that
needs clarification) - I implemented an ExecutionContext factory because I recall you mentioning it somewhere. That would require a decorator. The implementation I have doesn't really require a factory. So, if doing away with the factory is okay, then we can have DispatchContext extend ExecutionContext. -Adrian David E Jones wrote: > > Actually I was planning on using the ExecutionContext instead of the > DispatchContext. We could have a DispatchContext interface that extends > the ExecutionContext one if we can get that to make it easier to update > services written Java (ie just require something like the Eclipse > organize imports to get things working again). > > -David > > > On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: > >> It seems to me that DispatchContext plays a similar role as >> ExecutionContext - as far as being a container of artifacts used by >> services. I'm thinking DispatchContext could decorate an >> ExecutionContext instance, and then the service engine wouldn't need >> to have another object to pass around. >> >> -Adrian >> >> >> Adrian Crum wrote: >>> I'm bumping this because I might have some time this weekend to help. >>> David - I would like to work on converting some of the frequently >>> used lower-level concrete classes to interfaces. You didn't reply >>> when I suggested it before. Do you have any objections? >>> Also, if that conversion is done, it could be done in the trunk - >>> negating the need for a branch. In other words, once the higher level >>> code is using interfaces, you can muck around with the >>> implementations all you want. >>> -Adrian >>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: >>>> From: Adrian Crum <[hidden email]> >>>> Subject: Re: svn commit: r795024 [1/6] - in >>>> /ofbiz/branches/executioncontext20090716: ./ >>>> applications/content/src/org/ofbiz/content/content/ >>>> applications/order/src/org/ofbiz/order/order/ >>>> applications/party/src/org/ofbiz/party/party/ >>>> applications/product/src/org/ofb... >>>> To: [hidden email] >>>> Date: Friday, July 17, 2009, 5:07 PM >>>> >>>> --- On Fri, 7/17/09, David E Jones <[hidden email]> >>>> wrote: >>>>> There is a basic reason for this, and it's because I'm >>>> lazy >>>>> and also not sure how many of these "lower level" >>>> objects we >>>>> even want interfaces for. >>>> My preference would be to change all of it to interfaces. >>>> Higher level code should interact with interfaces - not >>>> concrete classes (dependency inversion). >>>> >>>> Keep in mind you're not alone in this effort - I'm >>>> available to help. >>>> >>>> -Adrian >>>> >>>> >>>> >>>> >>> > > |
It looks to me like the DispatchContext is similar to a singleton. An
instance is kept in each GenericDispatcher. If that's the case, then it can't be converted to an ExecutionContext, because that has an instance per thread. -Adrian Adrian Crum wrote: > One potential problem there (and it's not a biggie, just something that > needs clarification) - I implemented an ExecutionContext factory because > I recall you mentioning it somewhere. That would require a decorator. > > The implementation I have doesn't really require a factory. So, if doing > away with the factory is okay, then we can have DispatchContext extend > ExecutionContext. > > -Adrian > > David E Jones wrote: >> >> Actually I was planning on using the ExecutionContext instead of the >> DispatchContext. We could have a DispatchContext interface that >> extends the ExecutionContext one if we can get that to make it easier >> to update services written Java (ie just require something like the >> Eclipse organize imports to get things working again). >> >> -David >> >> >> On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: >> >>> It seems to me that DispatchContext plays a similar role as >>> ExecutionContext - as far as being a container of artifacts used by >>> services. I'm thinking DispatchContext could decorate an >>> ExecutionContext instance, and then the service engine wouldn't need >>> to have another object to pass around. >>> >>> -Adrian >>> >>> >>> Adrian Crum wrote: >>>> I'm bumping this because I might have some time this weekend to help. >>>> David - I would like to work on converting some of the frequently >>>> used lower-level concrete classes to interfaces. You didn't reply >>>> when I suggested it before. Do you have any objections? >>>> Also, if that conversion is done, it could be done in the trunk - >>>> negating the need for a branch. In other words, once the higher >>>> level code is using interfaces, you can muck around with the >>>> implementations all you want. >>>> -Adrian >>>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: >>>>> From: Adrian Crum <[hidden email]> >>>>> Subject: Re: svn commit: r795024 [1/6] - in >>>>> /ofbiz/branches/executioncontext20090716: ./ >>>>> applications/content/src/org/ofbiz/content/content/ >>>>> applications/order/src/org/ofbiz/order/order/ >>>>> applications/party/src/org/ofbiz/party/party/ >>>>> applications/product/src/org/ofb... >>>>> To: [hidden email] >>>>> Date: Friday, July 17, 2009, 5:07 PM >>>>> >>>>> --- On Fri, 7/17/09, David E Jones <[hidden email]> >>>>> wrote: >>>>>> There is a basic reason for this, and it's because I'm >>>>> lazy >>>>>> and also not sure how many of these "lower level" >>>>> objects we >>>>>> even want interfaces for. >>>>> My preference would be to change all of it to interfaces. >>>>> Higher level code should interact with interfaces - not >>>>> concrete classes (dependency inversion). >>>>> >>>>> Keep in mind you're not alone in this effort - I'm >>>>> available to help. >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> >>>>> >>>> >> >> > |
In reply to this post by Adrian Crum
I mentioned a little bit before about centralizing the interfaces into a single component that does not depend on the other components and that other components can depend on. These will become the basic set of tools available for application logic build on the OFBiz framework. The general concepts I'm trying to support, and unfortunately these conflict with changing things in a backward-compatible way, are: 1. create interfaces and backing objects that can be used in all tools to represent the context in which the artifacts execute, and have the framework artifacts themselves use this context too 2. provide a factory interface that a singleton object can use to create the execution context and all of the objects it depends on (based on interfaces in the context component); once all code is using the execution context instead of getting at resources in other ways it will be possible to change the context in which logic executes easily; this will facilitate multi-tenant customizations of OFBiz, and also become a central part of what we will need for runtime context- sensitive security 3. based on this it should be possible for code using the OFBiz framework to not include very many jars, and in fact should mostly just need the framework context jar 4. this sort of increased isolation between the framework implementation and application code will make unit testing easier, for those that really want to do low-level stubbed unit tests The problem with these goals is that there is no way (not that I can think of anyway) to implement them without changing the framework in non-backward compatible ways. I am trying to do so in such a way that mostly just packages and compiling against interfaces instead of objects will need to be done, but that is still something that needs lots of changes and so will need to be phased in over a fair amount of effort... which is why I went for the branch with more comprehensive changes instead of trying to do it all in-place as a series of backward-compatible changes. To be more specific here are some things in what you have done that won't meet the goals listed above: 1. the GenericDelegator interface needs to be in the shared context component instead of in the entity component where there would be a circular dependency with the ExecutionContext and other related interfaces 2. we don't want a factory specifically for the delegator, at least not one that would be commonly used by higher level code; code should always get the delegator and other objects from the ExecutionContext, even when it needs a specific named delegator and it should just pass that name into the ExecutionContext I hope that makes things more clear, and in the spirit of communication will help us to collaborate on this. On a side note, you may be right that with a smaller set of goals, like just doing an ExecutionContext for security reasons and not change things to get all framework tool objects (like the delegator and dispatcher) from the ExecutionContext then we could probably do it with mostly backward compatible, and more incremental, changes. -David On Aug 10, 2009, at 4:43 PM, Adrian Crum wrote: > One potential problem there (and it's not a biggie, just something > that needs clarification) - I implemented an ExecutionContext > factory because I recall you mentioning it somewhere. That would > require a decorator. > > The implementation I have doesn't really require a factory. So, if > doing away with the factory is okay, then we can have > DispatchContext extend ExecutionContext. > > -Adrian > > David E Jones wrote: >> Actually I was planning on using the ExecutionContext instead of >> the DispatchContext. We could have a DispatchContext interface that >> extends the ExecutionContext one if we can get that to make it >> easier to update services written Java (ie just require something >> like the Eclipse organize imports to get things working again). >> -David >> On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: >>> It seems to me that DispatchContext plays a similar role as >>> ExecutionContext - as far as being a container of artifacts used >>> by services. I'm thinking DispatchContext could decorate an >>> ExecutionContext instance, and then the service engine wouldn't >>> need to have another object to pass around. >>> >>> -Adrian >>> >>> >>> Adrian Crum wrote: >>>> I'm bumping this because I might have some time this weekend to >>>> help. >>>> David - I would like to work on converting some of the frequently >>>> used lower-level concrete classes to interfaces. You didn't reply >>>> when I suggested it before. Do you have any objections? >>>> Also, if that conversion is done, it could be done in the trunk - >>>> negating the need for a branch. In other words, once the higher >>>> level code is using interfaces, you can muck around with the >>>> implementations all you want. >>>> -Adrian >>>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> wrote: >>>>> From: Adrian Crum <[hidden email]> >>>>> Subject: Re: svn commit: r795024 [1/6] - in /ofbiz/branches/ >>>>> executioncontext20090716: ./ applications/content/src/org/ofbiz/ >>>>> content/content/ applications/order/src/org/ofbiz/order/order/ >>>>> applications/party/src/org/ofbiz/party/party/ applications/ >>>>> product/src/org/ofb... >>>>> To: [hidden email] >>>>> Date: Friday, July 17, 2009, 5:07 PM >>>>> >>>>> --- On Fri, 7/17/09, David E Jones <[hidden email]> >>>>> wrote: >>>>>> There is a basic reason for this, and it's because I'm >>>>> lazy >>>>>> and also not sure how many of these "lower level" >>>>> objects we >>>>>> even want interfaces for. >>>>> My preference would be to change all of it to interfaces. >>>>> Higher level code should interact with interfaces - not >>>>> concrete classes (dependency inversion). >>>>> >>>>> Keep in mind you're not alone in this effort - I'm >>>>> available to help. >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> >>>>> >>>> |
David, if you wouldn't mind digging in a bit deeper here for me - to
explain it to the laymen - is this backward compatibility issue only a concern for people who are changing the framework and need to upgrade their own instances (vendor branches could be a problem here), or if not, how does this effect the rest of us with customizations / custom applications out there? I just want to get a better understanding of what's next with changes like this - so, any examples would be great. Thanks. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Aug 11, 2009, at 11:55 PM, David E Jones wrote: > The general concepts I'm trying to support, and unfortunately these > conflict with changing things in a backward-compatible way, are: smime.p7s (3K) Download Attachment |
In reply to this post by David E. Jones-2
David,
Thank you very much for the reply! That certainly clears up a lot of confusion. I noticed the context folder and that you put interfaces in there, but I didn't understand the purpose. Maybe a better name for that folder would be api - since it will contain much more than the ExecutionContext. Maybe have something like framework/api/context, framework/api/entity, framework/api/security, etc. I have solved the conflicting dependency issue with the ExecutionContext. I have it working. Right now it only follows the execution path down to the entity level. I stopped there because I felt that (ultimately) doing permission checks on individual fields would be a performance hit. We can look at that in more detail later. I would like to get it committed. Once it is committed, then we can start making changes to have code get its resources from the ExecutionContext. I started working on the AuthorizationManager. I will probably have most of it fleshed out by the end of this weekend. My hope is that we can get the security redesign finished, and once that is done, we can start building out the ExecutionContext the way you have envisioned. Putting interfaces into a single jar is a good idea and a worthwhile goal, so I'm on board with that effort. -Adrian --- On Tue, 8/11/09, David E Jones <[hidden email]> wrote: > From: David E Jones <[hidden email]> > Subject: Re: Discussion: ExecutionContext > To: [hidden email] > Date: Tuesday, August 11, 2009, 10:55 PM > > I mentioned a little bit before about centralizing the > interfaces into a single component that does not depend on > the other components and that other components can depend > on. These will become the basic set of tools available for > application logic build on the OFBiz framework. > > The general concepts I'm trying to support, and > unfortunately these conflict with changing things in a > backward-compatible way, are: > > 1. create interfaces and backing objects that can be used > in all tools to represent the context in which the artifacts > execute, and have the framework artifacts themselves use > this context too > > 2. provide a factory interface that a singleton object can > use to create the execution context and all of the objects > it depends on (based on interfaces in the context > component); once all code is using the execution context > instead of getting at resources in other ways it will be > possible to change the context in which logic executes > easily; this will facilitate multi-tenant customizations of > OFBiz, and also become a central part of what we will need > for runtime context-sensitive security > > 3. based on this it should be possible for code using the > OFBiz framework to not include very many jars, and in fact > should mostly just need the framework context jar > > 4. this sort of increased isolation between the framework > implementation and application code will make unit testing > easier, for those that really want to do low-level stubbed > unit tests > > The problem with these goals is that there is no way (not > that I can think of anyway) to implement them without > changing the framework in non-backward compatible ways. I am > trying to do so in such a way that mostly just packages and > compiling against interfaces instead of objects will need to > be done, but that is still something that needs lots of > changes and so will need to be phased in over a fair amount > of effort... which is why I went for the branch with more > comprehensive changes instead of trying to do it all > in-place as a series of backward-compatible changes. > > To be more specific here are some things in what you have > done that won't meet the goals listed above: > > 1. the GenericDelegator interface needs to be in the shared > context component instead of in the entity component where > there would be a circular dependency with the > ExecutionContext and other related interfaces > > 2. we don't want a factory specifically for the delegator, > at least not one that would be commonly used by higher level > code; code should always get the delegator and other objects > from the ExecutionContext, even when it needs a specific > named delegator and it should just pass that name into the > ExecutionContext > > I hope that makes things more clear, and in the spirit of > communication will help us to collaborate on this. > > On a side note, you may be right that with a smaller set of > goals, like just doing an ExecutionContext for security > reasons and not change things to get all framework tool > objects (like the delegator and dispatcher) from the > ExecutionContext then we could probably do it with mostly > backward compatible, and more incremental, changes. > > -David > > > On Aug 10, 2009, at 4:43 PM, Adrian Crum wrote: > > > One potential problem there (and it's not a biggie, > just something that needs clarification) - I implemented an > ExecutionContext factory because I recall you mentioning it > somewhere. That would require a decorator. > > > > The implementation I have doesn't really require a > factory. So, if doing away with the factory is okay, then we > can have DispatchContext extend ExecutionContext. > > > > -Adrian > > > > David E Jones wrote: > >> Actually I was planning on using the > ExecutionContext instead of the DispatchContext. We could > have a DispatchContext interface that extends the > ExecutionContext one if we can get that to make it easier to > update services written Java (ie just require something like > the Eclipse organize imports to get things working again). > >> -David > >> On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: > >>> It seems to me that DispatchContext plays a > similar role as ExecutionContext - as far as being a > container of artifacts used by services. I'm thinking > DispatchContext could decorate an ExecutionContext instance, > and then the service engine wouldn't need to have another > object to pass around. > >>> > >>> -Adrian > >>> > >>> > >>> Adrian Crum wrote: > >>>> I'm bumping this because I might have some > time this weekend to help. > >>>> David - I would like to work on converting > some of the frequently used lower-level concrete classes to > interfaces. You didn't reply when I suggested it before. Do > you have any objections? > >>>> Also, if that conversion is done, it could > be done in the trunk - negating the need for a branch. In > other words, once the higher level code is using interfaces, > you can muck around with the implementations all you want. > >>>> -Adrian > >>>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> > wrote: > >>>>> From: Adrian Crum <[hidden email]> > >>>>> Subject: Re: svn commit: r795024 [1/6] > - in /ofbiz/branches/executioncontext20090716: ./ > applications/content/src/org/ofbiz/content/content/ > applications/order/src/org/ofbiz/order/order/ > applications/party/src/org/ofbiz/party/party/ > applications/product/src/org/ofb... > >>>>> To: [hidden email] > >>>>> Date: Friday, July 17, 2009, 5:07 PM > >>>>> > >>>>> --- On Fri, 7/17/09, David E Jones > <[hidden email]> > >>>>> wrote: > >>>>>> There is a basic reason for this, > and it's because I'm > >>>>> lazy > >>>>>> and also not sure how many of > these "lower level" > >>>>> objects we > >>>>>> even want interfaces for. > >>>>> My preference would be to change all > of it to interfaces. > >>>>> Higher level code should interact with > interfaces - not > >>>>> concrete classes (dependency > inversion). > >>>>> > >>>>> Keep in mind you're not alone in this > effort - I'm > >>>>> available to help. > >>>>> > >>>>> -Adrian > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > > |
That sounds pretty backwards Adrian, ie do the security changes and then do the execution context. You say you have the dependency issue fixed, but nothing about how and such... so I can't comment on that or see if it is a better approach than using extracted interfaces. Could you put all of your changes, perhaps including the various commits so far, in a branch so we can discuss this and think it through all the way before any of us get too far down any certain path? BTW, the revision that I think should go into a branch and be removed from the trunk are: 802563, 802567, 802577, 802581. -David On Aug 12, 2009, at 7:45 AM, Adrian Crum wrote: > David, > > Thank you very much for the reply! That certainly clears up a lot of > confusion. > > I noticed the context folder and that you put interfaces in there, > but I didn't understand the purpose. Maybe a better name for that > folder would be api - since it will contain much more than the > ExecutionContext. Maybe have something like framework/api/context, > framework/api/entity, framework/api/security, etc. > > I have solved the conflicting dependency issue with the > ExecutionContext. I have it working. Right now it only follows the > execution path down to the entity level. I stopped there because I > felt that (ultimately) doing permission checks on individual fields > would be a performance hit. We can look at that in more detail later. > > I would like to get it committed. Once it is committed, then we can > start making changes to have code get its resources from the > ExecutionContext. > > I started working on the AuthorizationManager. I will probably have > most of it fleshed out by the end of this weekend. > > My hope is that we can get the security redesign finished, and once > that is done, we can start building out the ExecutionContext the way > you have envisioned. Putting interfaces into a single jar is a good > idea and a worthwhile goal, so I'm on board with that effort. > > -Adrian > > > --- On Tue, 8/11/09, David E Jones <[hidden email]> wrote: > >> From: David E Jones <[hidden email]> >> Subject: Re: Discussion: ExecutionContext >> To: [hidden email] >> Date: Tuesday, August 11, 2009, 10:55 PM >> >> I mentioned a little bit before about centralizing the >> interfaces into a single component that does not depend on >> the other components and that other components can depend >> on. These will become the basic set of tools available for >> application logic build on the OFBiz framework. >> >> The general concepts I'm trying to support, and >> unfortunately these conflict with changing things in a >> backward-compatible way, are: >> >> 1. create interfaces and backing objects that can be used >> in all tools to represent the context in which the artifacts >> execute, and have the framework artifacts themselves use >> this context too >> >> 2. provide a factory interface that a singleton object can >> use to create the execution context and all of the objects >> it depends on (based on interfaces in the context >> component); once all code is using the execution context >> instead of getting at resources in other ways it will be >> possible to change the context in which logic executes >> easily; this will facilitate multi-tenant customizations of >> OFBiz, and also become a central part of what we will need >> for runtime context-sensitive security >> >> 3. based on this it should be possible for code using the >> OFBiz framework to not include very many jars, and in fact >> should mostly just need the framework context jar >> >> 4. this sort of increased isolation between the framework >> implementation and application code will make unit testing >> easier, for those that really want to do low-level stubbed >> unit tests >> >> The problem with these goals is that there is no way (not >> that I can think of anyway) to implement them without >> changing the framework in non-backward compatible ways. I am >> trying to do so in such a way that mostly just packages and >> compiling against interfaces instead of objects will need to >> be done, but that is still something that needs lots of >> changes and so will need to be phased in over a fair amount >> of effort... which is why I went for the branch with more >> comprehensive changes instead of trying to do it all >> in-place as a series of backward-compatible changes. >> >> To be more specific here are some things in what you have >> done that won't meet the goals listed above: >> >> 1. the GenericDelegator interface needs to be in the shared >> context component instead of in the entity component where >> there would be a circular dependency with the >> ExecutionContext and other related interfaces >> >> 2. we don't want a factory specifically for the delegator, >> at least not one that would be commonly used by higher level >> code; code should always get the delegator and other objects >> from the ExecutionContext, even when it needs a specific >> named delegator and it should just pass that name into the >> ExecutionContext >> >> I hope that makes things more clear, and in the spirit of >> communication will help us to collaborate on this. >> >> On a side note, you may be right that with a smaller set of >> goals, like just doing an ExecutionContext for security >> reasons and not change things to get all framework tool >> objects (like the delegator and dispatcher) from the >> ExecutionContext then we could probably do it with mostly >> backward compatible, and more incremental, changes. >> >> -David >> >> >> On Aug 10, 2009, at 4:43 PM, Adrian Crum wrote: >> >>> One potential problem there (and it's not a biggie, >> just something that needs clarification) - I implemented an >> ExecutionContext factory because I recall you mentioning it >> somewhere. That would require a decorator. >>> >>> The implementation I have doesn't really require a >> factory. So, if doing away with the factory is okay, then we >> can have DispatchContext extend ExecutionContext. >>> >>> -Adrian >>> >>> David E Jones wrote: >>>> Actually I was planning on using the >> ExecutionContext instead of the DispatchContext. We could >> have a DispatchContext interface that extends the >> ExecutionContext one if we can get that to make it easier to >> update services written Java (ie just require something like >> the Eclipse organize imports to get things working again). >>>> -David >>>> On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: >>>>> It seems to me that DispatchContext plays a >> similar role as ExecutionContext - as far as being a >> container of artifacts used by services. I'm thinking >> DispatchContext could decorate an ExecutionContext instance, >> and then the service engine wouldn't need to have another >> object to pass around. >>>>> >>>>> -Adrian >>>>> >>>>> >>>>> Adrian Crum wrote: >>>>>> I'm bumping this because I might have some >> time this weekend to help. >>>>>> David - I would like to work on converting >> some of the frequently used lower-level concrete classes to >> interfaces. You didn't reply when I suggested it before. Do >> you have any objections? >>>>>> Also, if that conversion is done, it could >> be done in the trunk - negating the need for a branch. In >> other words, once the higher level code is using interfaces, >> you can muck around with the implementations all you want. >>>>>> -Adrian >>>>>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> >> wrote: >>>>>>> From: Adrian Crum <[hidden email]> >>>>>>> Subject: Re: svn commit: r795024 [1/6] >> - in /ofbiz/branches/executioncontext20090716: ./ >> applications/content/src/org/ofbiz/content/content/ >> applications/order/src/org/ofbiz/order/order/ >> applications/party/src/org/ofbiz/party/party/ >> applications/product/src/org/ofb... >>>>>>> To: [hidden email] >>>>>>> Date: Friday, July 17, 2009, 5:07 PM >>>>>>> >>>>>>> --- On Fri, 7/17/09, David E Jones >> <[hidden email]> >>>>>>> wrote: >>>>>>>> There is a basic reason for this, >> and it's because I'm >>>>>>> lazy >>>>>>>> and also not sure how many of >> these "lower level" >>>>>>> objects we >>>>>>>> even want interfaces for. >>>>>>> My preference would be to change all >> of it to interfaces. >>>>>>> Higher level code should interact with >> interfaces - not >>>>>>> concrete classes (dependency >> inversion). >>>>>>> >>>>>>> Keep in mind you're not alone in this >> effort - I'm >>>>>>> available to help. >>>>>>> >>>>>>> -Adrian >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >> >> > > > |
I'll create a new branch. I just committed it to the trunk, but I'll
revert it. -Adrian David E Jones wrote: > > That sounds pretty backwards Adrian, ie do the security changes and then > do the execution context. > > You say you have the dependency issue fixed, but nothing about how and > such... so I can't comment on that or see if it is a better approach > than using extracted interfaces. > > Could you put all of your changes, perhaps including the various commits > so far, in a branch so we can discuss this and think it through all the > way before any of us get too far down any certain path? > > BTW, the revision that I think should go into a branch and be removed > from the trunk are: 802563, 802567, 802577, 802581. > > -David > > > On Aug 12, 2009, at 7:45 AM, Adrian Crum wrote: > >> David, >> >> Thank you very much for the reply! That certainly clears up a lot of >> confusion. >> >> I noticed the context folder and that you put interfaces in there, but >> I didn't understand the purpose. Maybe a better name for that folder >> would be api - since it will contain much more than the >> ExecutionContext. Maybe have something like framework/api/context, >> framework/api/entity, framework/api/security, etc. >> >> I have solved the conflicting dependency issue with the >> ExecutionContext. I have it working. Right now it only follows the >> execution path down to the entity level. I stopped there because I >> felt that (ultimately) doing permission checks on individual fields >> would be a performance hit. We can look at that in more detail later. >> >> I would like to get it committed. Once it is committed, then we can >> start making changes to have code get its resources from the >> ExecutionContext. >> >> I started working on the AuthorizationManager. I will probably have >> most of it fleshed out by the end of this weekend. >> >> My hope is that we can get the security redesign finished, and once >> that is done, we can start building out the ExecutionContext the way >> you have envisioned. Putting interfaces into a single jar is a good >> idea and a worthwhile goal, so I'm on board with that effort. >> >> -Adrian >> >> >> --- On Tue, 8/11/09, David E Jones <[hidden email]> wrote: >> >>> From: David E Jones <[hidden email]> >>> Subject: Re: Discussion: ExecutionContext >>> To: [hidden email] >>> Date: Tuesday, August 11, 2009, 10:55 PM >>> >>> I mentioned a little bit before about centralizing the >>> interfaces into a single component that does not depend on >>> the other components and that other components can depend >>> on. These will become the basic set of tools available for >>> application logic build on the OFBiz framework. >>> >>> The general concepts I'm trying to support, and >>> unfortunately these conflict with changing things in a >>> backward-compatible way, are: >>> >>> 1. create interfaces and backing objects that can be used >>> in all tools to represent the context in which the artifacts >>> execute, and have the framework artifacts themselves use >>> this context too >>> >>> 2. provide a factory interface that a singleton object can >>> use to create the execution context and all of the objects >>> it depends on (based on interfaces in the context >>> component); once all code is using the execution context >>> instead of getting at resources in other ways it will be >>> possible to change the context in which logic executes >>> easily; this will facilitate multi-tenant customizations of >>> OFBiz, and also become a central part of what we will need >>> for runtime context-sensitive security >>> >>> 3. based on this it should be possible for code using the >>> OFBiz framework to not include very many jars, and in fact >>> should mostly just need the framework context jar >>> >>> 4. this sort of increased isolation between the framework >>> implementation and application code will make unit testing >>> easier, for those that really want to do low-level stubbed >>> unit tests >>> >>> The problem with these goals is that there is no way (not >>> that I can think of anyway) to implement them without >>> changing the framework in non-backward compatible ways. I am >>> trying to do so in such a way that mostly just packages and >>> compiling against interfaces instead of objects will need to >>> be done, but that is still something that needs lots of >>> changes and so will need to be phased in over a fair amount >>> of effort... which is why I went for the branch with more >>> comprehensive changes instead of trying to do it all >>> in-place as a series of backward-compatible changes. >>> >>> To be more specific here are some things in what you have >>> done that won't meet the goals listed above: >>> >>> 1. the GenericDelegator interface needs to be in the shared >>> context component instead of in the entity component where >>> there would be a circular dependency with the >>> ExecutionContext and other related interfaces >>> >>> 2. we don't want a factory specifically for the delegator, >>> at least not one that would be commonly used by higher level >>> code; code should always get the delegator and other objects >>> from the ExecutionContext, even when it needs a specific >>> named delegator and it should just pass that name into the >>> ExecutionContext >>> >>> I hope that makes things more clear, and in the spirit of >>> communication will help us to collaborate on this. >>> >>> On a side note, you may be right that with a smaller set of >>> goals, like just doing an ExecutionContext for security >>> reasons and not change things to get all framework tool >>> objects (like the delegator and dispatcher) from the >>> ExecutionContext then we could probably do it with mostly >>> backward compatible, and more incremental, changes. >>> >>> -David >>> >>> >>> On Aug 10, 2009, at 4:43 PM, Adrian Crum wrote: >>> >>>> One potential problem there (and it's not a biggie, >>> just something that needs clarification) - I implemented an >>> ExecutionContext factory because I recall you mentioning it >>> somewhere. That would require a decorator. >>>> >>>> The implementation I have doesn't really require a >>> factory. So, if doing away with the factory is okay, then we >>> can have DispatchContext extend ExecutionContext. >>>> >>>> -Adrian >>>> >>>> David E Jones wrote: >>>>> Actually I was planning on using the >>> ExecutionContext instead of the DispatchContext. We could >>> have a DispatchContext interface that extends the >>> ExecutionContext one if we can get that to make it easier to >>> update services written Java (ie just require something like >>> the Eclipse organize imports to get things working again). >>>>> -David >>>>> On Aug 10, 2009, at 4:13 PM, Adrian Crum wrote: >>>>>> It seems to me that DispatchContext plays a >>> similar role as ExecutionContext - as far as being a >>> container of artifacts used by services. I'm thinking >>> DispatchContext could decorate an ExecutionContext instance, >>> and then the service engine wouldn't need to have another >>> object to pass around. >>>>>> >>>>>> -Adrian >>>>>> >>>>>> >>>>>> Adrian Crum wrote: >>>>>>> I'm bumping this because I might have some >>> time this weekend to help. >>>>>>> David - I would like to work on converting >>> some of the frequently used lower-level concrete classes to >>> interfaces. You didn't reply when I suggested it before. Do >>> you have any objections? >>>>>>> Also, if that conversion is done, it could >>> be done in the trunk - negating the need for a branch. In >>> other words, once the higher level code is using interfaces, >>> you can muck around with the implementations all you want. >>>>>>> -Adrian >>>>>>> --- On Fri, 7/17/09, Adrian Crum <[hidden email]> >>> wrote: >>>>>>>> From: Adrian Crum <[hidden email]> >>>>>>>> Subject: Re: svn commit: r795024 [1/6] >>> - in /ofbiz/branches/executioncontext20090716: ./ >>> applications/content/src/org/ofbiz/content/content/ >>> applications/order/src/org/ofbiz/order/order/ >>> applications/party/src/org/ofbiz/party/party/ >>> applications/product/src/org/ofb... >>>>>>>> To: [hidden email] >>>>>>>> Date: Friday, July 17, 2009, 5:07 PM >>>>>>>> >>>>>>>> --- On Fri, 7/17/09, David E Jones >>> <[hidden email]> >>>>>>>> wrote: >>>>>>>>> There is a basic reason for this, >>> and it's because I'm >>>>>>>> lazy >>>>>>>>> and also not sure how many of >>> these "lower level" >>>>>>>> objects we >>>>>>>>> even want interfaces for. >>>>>>>> My preference would be to change all >>> of it to interfaces. >>>>>>>> Higher level code should interact with >>> interfaces - not >>>>>>>> concrete classes (dependency >>> inversion). >>>>>>>> >>>>>>>> Keep in mind you're not alone in this >>> effort - I'm >>>>>>>> available to help. >>>>>>>> >>>>>>>> -Adrian >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>> >>> >> >> >> > > |
Free forum by Nabble | Edit this page |