/[Apache-SVN]
ViewVC logotype

Revision 803693


Jump to revision: Previous Next
Author: adrianc
Date: Wed Aug 12 20:09:32 2009 UTC (14 years, 8 months ago)
Changed paths: 82
Log Message:
Initial implementation of the ExecutionContext.

I created two new folders in framework: api and context. The api folder will be used to contain interfaces for commonly used framework artifacts. The implementations will remain in the existing components. The context folder contains the implementation of ExecutionContext.

I was able to solve the cross-dependency issue by having each component in the compiler chain extend the ExecutionContext interface and add its own artifacts. The final version of the interface is in the service component. I know this is unusual, but it is only temporary. When the api folder is built out, the ExecutionContext interfaces will be consolidated into one - and that will be kept in the api folder.

Right now the ExecutionContext doesn't do anything except contain commonly used objects, and it keeps track of the thread's execution path. The idea is to have this one object passed around instead of the current half-dozen or so objects. The execution path will be used for the forthcoming security redesign.

If you want to see it in action, change the executionContext.verbose property in api.properties to true, and uncomment the blocks of screen widget code in the Example component: line 40 in ExampleScreens.xml, and line 25 in ExampleForms.xml. The console log will show the ExecutionContext pushing and popping artifacts, and the Find Example screen will display the execution path for the screen.


Changed paths

Path Details
Directoryofbiz/branches/executioncontext20090812/.classpath modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/accounting/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/content/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/humanres/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/manufacturing/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/marketing/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/order/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/party/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/product/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/securityext/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/applications/workeffort/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/api/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/build.xml added
Directoryofbiz/branches/executioncontext20090812/framework/api/config/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/config/api.properties added
Directoryofbiz/branches/executioncontext20090812/framework/api/lib/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/ofbiz-component.xml added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/context/ added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/context/ExecutionArtifact.java added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/context/ExecutionContext.java added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/context/ExecutionContextFactory.java added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/context/ExecutionContextImpl.java added
Directoryofbiz/branches/executioncontext20090812/framework/api/src/org/ofbiz/api/context/GenericExecutionArtifact.java added
Directoryofbiz/branches/executioncontext20090812/framework/bi/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/common/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/component-load.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/context/ added
Directoryofbiz/branches/executioncontext20090812/framework/context/build.xml added
Directoryofbiz/branches/executioncontext20090812/framework/context/lib/ added
Directoryofbiz/branches/executioncontext20090812/framework/context/ofbiz-component.xml added
Directoryofbiz/branches/executioncontext20090812/framework/context/src/ added
Directoryofbiz/branches/executioncontext20090812/framework/context/src/org/ added
Directoryofbiz/branches/executioncontext20090812/framework/context/src/org/ofbiz/ added
Directoryofbiz/branches/executioncontext20090812/framework/context/src/org/ofbiz/context/ added
Directoryofbiz/branches/executioncontext20090812/framework/context/src/org/ofbiz/context/ExecutionContextImpl.java added
Directoryofbiz/branches/executioncontext20090812/framework/entity/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/entity/src/org/ofbiz/entity/DelegatorFactory.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/entity/src/org/ofbiz/entity/DelegatorImpl.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/entity/src/org/ofbiz/entity/ExecutionContext.java added
Directoryofbiz/branches/executioncontext20090812/framework/entity/src/org/ofbiz/entity/GenericDelegator.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/entity/src/org/ofbiz/entity/GenericEntity.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/entityext/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/example/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/example/widget/example/ExampleForms.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/example/widget/example/ExampleScreens.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/minilang/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/security/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/security/src/org/ofbiz/security/ExecutionContext.java added
Directoryofbiz/branches/executioncontext20090812/framework/service/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/service/src/org/ofbiz/service/ExecutionContext.java added
Directoryofbiz/branches/executioncontext20090812/framework/service/src/org/ofbiz/service/ModelService.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/service/src/org/ofbiz/service/ModelServiceReader.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/service/src/org/ofbiz/service/ServiceDispatcher.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/webapp/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/webapp/src/org/ofbiz/webapp/control/ControlServlet.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/webapp/src/org/ofbiz/webapp/event/ServiceEventHandler.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/webtools/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/widget/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/widget/src/org/ofbiz/widget/form/ModelForm.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/widget/src/org/ofbiz/widget/screen/ModelScreen.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/framework/widget/src/org/ofbiz/widget/screen/ScreenRenderer.java modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/assetmaint/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/crowd/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/ebay/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/ecommerce/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/googlebase/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/googlecheckout/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/hhfacility/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/ldap/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/oagis/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/pos/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/projectmgr/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/shark/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/webpos/build.xml modified , text changed
Directoryofbiz/branches/executioncontext20090812/specialpurpose/workflow/build.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26