Initial commit from SVN.

This commit is contained in:
wcrisman
2014-05-30 10:31:51 -07:00
commit b45e56b890
1968 changed files with 370949 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry combineaccessrules="false" kind="src" path="/Foundation Web Interfaces"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Foundation Web Server</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
<app external-base-directory="d:/Web/Connected.Pro">
</app>

View File

@@ -0,0 +1,2 @@
<app external-base-directory="./webapp-external/Declarative Engineering">
</app>

View File

@@ -0,0 +1,2 @@
<app external-base-directory="./webapp-external/Media Server">
</app>

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@@ -0,0 +1,3 @@
<webapps>
<webapp name="Declarative Engineering" zip-file=".&#92;webapp-archives&#92;Declarative Engineering.zip" base-dir=".&#92;webapps&#92;Declarative Engineering" webapp-class-name="com.de22.release.application.WebApplicationFactory" hash="B3138EB7B50F081463CFCE8BC7BC9AA7B1A86DE1"/>
</webapps>

View File

@@ -0,0 +1,3 @@
Method #0 = com.foundation.attribute.IReflectUpdateHandler.update(long;com.foundation.attribute.AbstractReflectData;int;long;
Method #1 = com.foundation.attribute.IReflectUpdateHandler.joinReflections(long;long;int;int;
Method #2 = com.foundation.attribute.IReflectUpdateHandler.getNextProcessId

View File

@@ -0,0 +1,20 @@
Method #0 = com.foundation.attribute.IReflectable.getReflected
Method #1 = com.foundation.attribute.IReflectable.isReflection(com.foundation.attribute.ReflectionContext;
Method #2 = com.foundation.attribute.IReflectable.isReflection
Method #3 = com.foundation.attribute.IReflectable.getReflectionContext
Method #4 = com.foundation.attribute.IReflectable.zzrReflectionRegister(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #5 = com.foundation.attribute.IReflectable.reflectionSynchronize(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.AbstractReflectData;com.foundation.attribute.CreateReflectDataContext;
Method #6 = com.foundation.attribute.IReflectable.reflectionUnregister(com.foundation.attribute.IReflectUpdateHandler;
Method #7 = com.foundation.attribute.IReflectable.zzrIsReflection(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #8 = com.foundation.attribute.IReflectable.zzrGetReflectionContext(java.lang.Object;
Method #9 = com.foundation.attribute.IReflectable.zzrGetReflectionId(java.lang.Object;
Method #10 = com.foundation.attribute.IReflectable.zzrReflectionCreateSafeCopy(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #11 = com.foundation.attribute.IReflectable.zzrReflectionPreSynchronize(java.lang.Object;com.foundation.attribute.ReflectionContext;com.foundation.attribute.ReflectionContext;com.foundation.common.IEntity;com.foundation.attribute.IReflectable;com.foundation.attribute.ReflectionContext;
Method #12 = com.foundation.attribute.IReflectable.zzrReflectionDestroy(java.lang.Object;
Method #13 = com.foundation.attribute.IReflectable.zzrReflectionInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #14 = com.foundation.attribute.IReflectable.zzrReflectionPostInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #15 = com.foundation.attribute.IReflectable.zzrReflectionLocalRegister(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #16 = com.foundation.attribute.IReflectable.zzrReflectionGetLastUpdateMessageNumber(java.lang.Object;com.foundation.attribute.IReflectUpdateHandler;
Method #17 = com.foundation.attribute.IReflectable.zzrCollectPostSynchronizeReflectables(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #18 = com.foundation.clone.ICloneable.cloneObject(com.foundation.metadata.CloneContext;com.foundation.common.MetadataContainer;
Method #19 = com.foundation.metadata.ISupportsContainment.getMonitor

View File

@@ -0,0 +1,21 @@
Method #0 = com.foundation.attribute.IReflectableObject.reflectionLoadAttribute(java.lang.String;com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #1 = com.foundation.attribute.IReflectable.getReflected
Method #2 = com.foundation.attribute.IReflectable.isReflection(com.foundation.attribute.ReflectionContext;
Method #3 = com.foundation.attribute.IReflectable.isReflection
Method #4 = com.foundation.attribute.IReflectable.getReflectionContext
Method #5 = com.foundation.attribute.IReflectable.zzrReflectionRegister(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #6 = com.foundation.attribute.IReflectable.reflectionSynchronize(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.AbstractReflectData;com.foundation.attribute.CreateReflectDataContext;
Method #7 = com.foundation.attribute.IReflectable.reflectionUnregister(com.foundation.attribute.IReflectUpdateHandler;
Method #8 = com.foundation.attribute.IReflectable.zzrIsReflection(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #9 = com.foundation.attribute.IReflectable.zzrGetReflectionContext(java.lang.Object;
Method #10 = com.foundation.attribute.IReflectable.zzrGetReflectionId(java.lang.Object;
Method #11 = com.foundation.attribute.IReflectable.zzrReflectionCreateSafeCopy(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #12 = com.foundation.attribute.IReflectable.zzrReflectionPreSynchronize(java.lang.Object;com.foundation.attribute.ReflectionContext;com.foundation.attribute.ReflectionContext;com.foundation.common.IEntity;com.foundation.attribute.IReflectable;com.foundation.attribute.ReflectionContext;
Method #13 = com.foundation.attribute.IReflectable.zzrReflectionDestroy(java.lang.Object;
Method #14 = com.foundation.attribute.IReflectable.zzrReflectionInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #15 = com.foundation.attribute.IReflectable.zzrReflectionPostInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #16 = com.foundation.attribute.IReflectable.zzrReflectionLocalRegister(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #17 = com.foundation.attribute.IReflectable.zzrReflectionGetLastUpdateMessageNumber(java.lang.Object;com.foundation.attribute.IReflectUpdateHandler;
Method #18 = com.foundation.attribute.IReflectable.zzrCollectPostSynchronizeReflectables(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #19 = com.foundation.clone.ICloneable.cloneObject(com.foundation.metadata.CloneContext;com.foundation.common.MetadataContainer;
Method #20 = com.foundation.metadata.ISupportsContainment.getMonitor

View File

@@ -0,0 +1,20 @@
Method #0 = com.foundation.attribute.IReflectable.getReflected
Method #1 = com.foundation.attribute.IReflectable.isReflection(com.foundation.attribute.ReflectionContext;
Method #2 = com.foundation.attribute.IReflectable.isReflection
Method #3 = com.foundation.attribute.IReflectable.getReflectionContext
Method #4 = com.foundation.attribute.IReflectable.zzrReflectionRegister(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #5 = com.foundation.attribute.IReflectable.reflectionSynchronize(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.AbstractReflectData;com.foundation.attribute.CreateReflectDataContext;
Method #6 = com.foundation.attribute.IReflectable.reflectionUnregister(com.foundation.attribute.IReflectUpdateHandler;
Method #7 = com.foundation.attribute.IReflectable.zzrIsReflection(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #8 = com.foundation.attribute.IReflectable.zzrGetReflectionContext(java.lang.Object;
Method #9 = com.foundation.attribute.IReflectable.zzrGetReflectionId(java.lang.Object;
Method #10 = com.foundation.attribute.IReflectable.zzrReflectionCreateSafeCopy(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #11 = com.foundation.attribute.IReflectable.zzrReflectionPreSynchronize(java.lang.Object;com.foundation.attribute.ReflectionContext;com.foundation.attribute.ReflectionContext;com.foundation.common.IEntity;com.foundation.attribute.IReflectable;com.foundation.attribute.ReflectionContext;
Method #12 = com.foundation.attribute.IReflectable.zzrReflectionDestroy(java.lang.Object;
Method #13 = com.foundation.attribute.IReflectable.zzrReflectionInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #14 = com.foundation.attribute.IReflectable.zzrReflectionPostInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #15 = com.foundation.attribute.IReflectable.zzrReflectionLocalRegister(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #16 = com.foundation.attribute.IReflectable.zzrReflectionGetLastUpdateMessageNumber(java.lang.Object;com.foundation.attribute.IReflectUpdateHandler;
Method #17 = com.foundation.attribute.IReflectable.zzrCollectPostSynchronizeReflectables(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #18 = com.foundation.clone.ICloneable.cloneObject(com.foundation.metadata.CloneContext;com.foundation.common.MetadataContainer;
Method #19 = com.foundation.metadata.ISupportsContainment.getMonitor

View File

@@ -0,0 +1,102 @@
Method #0 = com.common.util.IList.getLocateComparator
Method #1 = com.common.util.IList.setLocateComparator(com.common.comparison.IComparator;
Method #2 = com.common.util.IList.getOrderComparator
Method #3 = com.common.util.IList.setOrderComparator(com.common.comparison.IComparator;
Method #4 = com.common.util.IIndexedCollection.add(int;java.lang.Object;
Method #5 = com.common.util.IIndexedCollection.replace(int;java.lang.Object;
Method #6 = com.common.util.IIndexedCollection.addAll(int;com.common.util.ICollection;
Method #7 = com.common.util.IIndexedCollection.addAll(int;com.common.util.IIndexedCollection;int;int;
Method #8 = com.common.util.IIndexedCollection.addAll(int;[Ljava.lang.Object;;int;int;
Method #9 = com.common.util.IIndexedCollection.addAll(int;[Ljava.lang.Object;;
Method #10 = com.common.util.IIndexedCollection.get(int;
Method #11 = com.common.util.IIndexedCollection.remove(int;
Method #12 = com.common.util.IIndexedCollection.set(int;java.lang.Object;
Method #13 = com.common.util.IIndexedCollection.getLast
Method #14 = com.common.util.IIndexedCollection.getFirst
Method #15 = com.common.util.IIndexedCollection.getIndexOf(java.lang.Object;
Method #16 = com.common.util.IIndexedCollection.getLastIndexOf(java.lang.Object;
Method #17 = com.common.util.IIndexedCollection.indexedIterator
Method #18 = com.common.util.IIndexedCollection.move(int;int;
Method #19 = com.common.util.IIndexedCollection.move(java.lang.Object;int;
Method #20 = com.common.util.IIndexedCollection.moveToFirst(int;
Method #21 = com.common.util.IIndexedCollection.moveToFirst(java.lang.Object;
Method #22 = com.common.util.IIndexedCollection.moveToLast(int;
Method #23 = com.common.util.IIndexedCollection.moveToLast(java.lang.Object;
Method #24 = com.common.util.ICollection.add(java.lang.Object;
Method #25 = com.common.util.ICollection.replace(java.lang.Object;java.lang.Object;
Method #26 = com.common.util.ICollection.replaceAll(com.common.util.ICollection;com.common.util.ICollection;
Method #27 = com.common.util.ICollection.replaceAll(com.common.util.ICollection;
Method #28 = com.common.util.ICollection.addAll([Ljava.lang.Object;;
Method #29 = com.common.util.ICollection.addAll(com.common.util.IIndexedCollection;int;int;
Method #30 = com.common.util.ICollection.addAll(com.common.util.ICollection;
Method #31 = com.common.util.ICollection.addAll(com.common.util.IIterator;
Method #32 = com.common.util.ICollection.addAll([Ljava.lang.Object;;int;int;
Method #33 = com.common.util.ICollection.iterator
Method #34 = com.common.util.ICollection.toArray
Method #35 = com.common.util.ICollection.toArray(java.lang.Object;
Method #36 = com.common.util.ICollection.remove(java.lang.Object;
Method #37 = com.common.util.ICollection.containsValue(java.lang.Object;
Method #38 = com.common.util.ICollection.getSize
Method #39 = com.common.util.ICollection.removeAll([Ljava.lang.Object;;
Method #40 = com.common.util.ICollection.removeAll([Ljava.lang.Object;;int;int;
Method #41 = com.common.util.ICollection.removeAll(com.common.util.IIterator;
Method #42 = com.common.util.ICollection.removeAll
Method #43 = com.common.util.ICollection.removeAll(com.common.util.ICollection;
Method #44 = com.common.util.ICollection.isChangeable(boolean;
Method #45 = com.common.util.ICollection.isChangeable
Method #46 = com.common.util.ICollection.collect(com.common.event.ObjectHandler1;com.common.util.IList;
Method #47 = com.common.util.ICollection.perform(com.common.event.VoidHandler1;
Method #48 = com.common.util.ICollection.reject(com.common.event.BooleanHandler1;com.common.util.IList;
Method #49 = com.common.util.ICollection.select(com.common.event.BooleanHandler1;com.common.util.IList;
Method #50 = com.foundation.util.IManagedCollection.execute(com.foundation.util.IManagedCollection$ICollectionOperation;
Method #51 = com.foundation.util.IManagedCollection.getErrorInfo
Method #52 = com.foundation.util.IManagedCollection.setErrorInfo(java.lang.Object;
Method #53 = com.common.util.ICollection.getFirst
Method #54 = com.foundation.util.ITrackedCollection.resetVirtualObjectChangeFlags
Method #55 = com.foundation.util.ITrackedCollection.reverseObjectChanges
Method #56 = com.foundation.util.ITrackedCollection.reverseVirtualObjectChanges
Method #57 = com.foundation.util.ITrackedCollection.getCollectionChanges(com.common.util.ICollection;com.common.util.ICollection;
Method #58 = com.foundation.util.ITrackedCollection.resetChangeTracking
Method #59 = com.foundation.util.ITrackedCollection.hasCollectionChanges
Method #60 = com.foundation.attribute.IReflectable.getReflected
Method #61 = com.foundation.attribute.IReflectable.isReflection(com.foundation.attribute.ReflectionContext;
Method #62 = com.foundation.attribute.IReflectable.isReflection
Method #63 = com.foundation.attribute.IReflectable.getReflectionContext
Method #64 = com.foundation.attribute.IReflectable.zzrReflectionRegister(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #65 = com.foundation.attribute.IReflectable.reflectionSynchronize(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.AbstractReflectData;com.foundation.attribute.CreateReflectDataContext;
Method #66 = com.foundation.attribute.IReflectable.reflectionUnregister(com.foundation.attribute.IReflectUpdateHandler;
Method #67 = com.foundation.attribute.IReflectable.zzrIsReflection(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #68 = com.foundation.attribute.IReflectable.zzrGetReflectionContext(java.lang.Object;
Method #69 = com.foundation.attribute.IReflectable.zzrGetReflectionId(java.lang.Object;
Method #70 = com.foundation.attribute.IReflectable.zzrReflectionCreateSafeCopy(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #71 = com.foundation.attribute.IReflectable.zzrReflectionPreSynchronize(java.lang.Object;com.foundation.attribute.ReflectionContext;com.foundation.attribute.ReflectionContext;com.foundation.common.IEntity;com.foundation.attribute.IReflectable;com.foundation.attribute.ReflectionContext;
Method #72 = com.foundation.attribute.IReflectable.zzrReflectionDestroy(java.lang.Object;
Method #73 = com.foundation.attribute.IReflectable.zzrReflectionInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #74 = com.foundation.attribute.IReflectable.zzrReflectionPostInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #75 = com.foundation.attribute.IReflectable.zzrReflectionLocalRegister(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #76 = com.foundation.attribute.IReflectable.zzrReflectionGetLastUpdateMessageNumber(java.lang.Object;com.foundation.attribute.IReflectUpdateHandler;
Method #77 = com.foundation.attribute.IReflectable.zzrCollectPostSynchronizeReflectables(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #78 = com.foundation.clone.ICloneable.cloneObject(com.foundation.metadata.CloneContext;com.foundation.common.MetadataContainer;
Method #79 = com.foundation.metadata.ISupportsContainment.getMonitor
Method #80 = com.foundation.attribute.IReflectCollectionSupport.synchronizeReflection(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.AbstractReflectData;
Method #81 = com.foundation.attribute.IReflectCollectionSupport.unregisterReflection(com.foundation.attribute.IReflectUpdateHandler;
Method #82 = com.foundation.attribute.IReflectSupport.getHash
Method #83 = com.foundation.attribute.IReflectSupport.setHash(int;
Method #84 = com.foundation.attribute.IReflectSupport.getReflectedObject
Method #85 = com.foundation.attribute.IReflectSupport.destroyReflection
Method #86 = com.foundation.attribute.IReflectSupport.getSupportedObject
Method #87 = com.foundation.attribute.IReflectSupport.completeSynchronization(com.foundation.attribute.AbstractReflectData;com.foundation.attribute.AbstractReflectData;
Method #88 = com.foundation.attribute.IReflectSupport.getReflectionObject
Method #89 = com.foundation.attribute.IReflectSupport.getSynchronizationData(com.foundation.metadata.CloneContext;
Method #90 = com.foundation.attribute.IReflectSupport.updateReflection(com.foundation.attribute.AbstractReflectData;
Method #91 = com.foundation.attribute.IReflectSupport.setCategoryNumber(long;
Method #92 = com.foundation.attribute.IReflectSupport.getCategoryNumber
Method #93 = com.foundation.event.IEventEmitter.registerListener(com.foundation.metadata.Event;com.foundation.event.IHandler;boolean;
Method #94 = com.foundation.event.IEventEmitter.registerListener(int;com.foundation.event.IHandler;boolean;
Method #95 = com.foundation.event.IEventEmitter.unregisterListener(com.foundation.metadata.Event;com.foundation.event.IHandler;
Method #96 = com.foundation.event.IEventEmitter.unregisterListener(int;com.foundation.event.IHandler;
Method #97 = com.foundation.util.IInlineCollectionObservable.addCollectionObserver(com.foundation.util.IInlineCollectionObserver;
Method #98 = com.foundation.util.IInlineCollectionObservable.removeCollectionObserver(com.foundation.util.IInlineCollectionObserver;
Method #99 = com.foundation.util.IInlineCollectionObservable.getCollection
Method #100 = com.foundation.util.IInlineIndexedCollectionObservable.addCollectionObserver(com.foundation.util.IInlineIndexedCollectionObserver;
Method #101 = com.foundation.util.IInlineIndexedCollectionObservable.removeCollectionObserver(com.foundation.util.IInlineIndexedCollectionObserver;

View File

@@ -0,0 +1 @@
Method #0 = com.foundation.web.server.shared.IWebServerMonitorConnection.setConnector(com.foundation.web.server.shared.IWebServer;

View File

@@ -0,0 +1,6 @@
Method #0 = com.foundation.web.server.shared.IWebServer.shutdown
Method #1 = com.foundation.web.server.shared.IWebServer.refreshWebapps
Method #2 = com.foundation.web.server.shared.IWebServer.getWebappBundles
Method #3 = com.foundation.web.server.shared.IWebServer.removeWebapp(java.lang.String;
Method #4 = com.foundation.web.server.shared.IWebServer.reloadWebapp(java.lang.String;
Method #5 = com.foundation.web.server.shared.IWebServer.refreshWebapp(java.lang.String;

View File

@@ -0,0 +1,62 @@
Method #0 = com.foundation.web.server.shared.model.IWebappLog.getEntryCount
Method #1 = com.foundation.web.server.shared.model.IWebappLog.getEntries(int;int;
Method #2 = com.foundation.common.IEntity.getApplication
Method #3 = com.foundation.common.IEntity.getTransactionService
Method #4 = com.foundation.common.IEntity.getIsAltered
Method #5 = com.foundation.common.IEntity.entityUpdate(com.foundation.transaction.TransactionContextHolder;
Method #6 = com.foundation.common.IEntity.entityUpdate(java.lang.Runnable;int;
Method #7 = com.foundation.common.IEntity.entityUpdate(java.lang.Runnable;java.lang.Object;int;
Method #8 = com.foundation.common.IEntity.entityUpdate(java.lang.Runnable;
Method #9 = com.foundation.common.IEntity.entityUpdate(int;
Method #10 = com.foundation.common.IEntity.entityUpdate
Method #11 = com.foundation.common.IEntity.entityUpdate(java.lang.Runnable;java.lang.Object;
Method #12 = com.foundation.common.IEntity.entityDelete(com.foundation.transaction.TransactionContextHolder;
Method #13 = com.foundation.common.IEntity.entityDelete(int;
Method #14 = com.foundation.common.IEntity.entityDelete
Method #15 = com.foundation.common.IEntity.isObjectNew
Method #16 = com.foundation.common.IEntity.entitySetKey(java.lang.Object;
Method #17 = com.foundation.common.IEntity.entityGetKey
Method #18 = com.foundation.common.IEntity.getAttributeSupport
Method #19 = com.foundation.common.IEntity.getAttributeCount
Method #20 = com.foundation.common.IEntity.getAttributeName(int;
Method #21 = com.foundation.common.IEntity.getOldAttributeValue(com.foundation.metadata.Attribute;
Method #22 = com.foundation.common.IEntity.isObjectRepositoryBound
Method #23 = com.foundation.common.IEntity.getIsObjectChanged
Method #24 = com.foundation.common.IEntity.getIsVirtualObjectChanged
Method #25 = com.foundation.common.IEntity.resetObjectChangeFlags
Method #26 = com.foundation.common.IEntity.resetVirtualObjectChangeFlags
Method #27 = com.foundation.common.IEntity.reverseObjectChanges
Method #28 = com.foundation.common.IEntity.reverseVirtualObjectChanges
Method #29 = com.foundation.common.IEntity.getIsVirtualObjectAltered
Method #30 = com.foundation.common.IEntity.resetAlteredFlag
Method #31 = com.foundation.common.IEntity.getPartOfEntity
Method #32 = com.foundation.common.IEntity.getPartOfEntityCounter
Method #33 = com.foundation.common.IEntity.getRepositoryIdentifier(java.lang.Object;
Method #34 = com.foundation.common.IEntity.getRepositoryIdentifier
Method #35 = com.foundation.common.IEntity.useRepositoryVersionTracking
Method #36 = com.foundation.common.IEntity.resetVirtualObjectAlteredFlags
Method #37 = com.foundation.attribute.IReflectableObject.reflectionLoadAttribute(java.lang.String;com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #38 = com.foundation.attribute.IReflectable.isReflection(com.foundation.attribute.ReflectionContext;
Method #39 = com.foundation.attribute.IReflectable.isReflection
Method #40 = com.foundation.attribute.IReflectable.getReflected
Method #41 = com.foundation.attribute.IReflectable.getReflectionContext
Method #42 = com.foundation.attribute.IReflectable.zzrReflectionRegister(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.ReflectRegistrationData;
Method #43 = com.foundation.attribute.IReflectable.reflectionSynchronize(com.foundation.attribute.IReflectUpdateHandler;com.foundation.attribute.AbstractReflectData;com.foundation.attribute.CreateReflectDataContext;
Method #44 = com.foundation.attribute.IReflectable.reflectionUnregister(com.foundation.attribute.IReflectUpdateHandler;
Method #45 = com.foundation.attribute.IReflectable.zzrIsReflection(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #46 = com.foundation.attribute.IReflectable.zzrGetReflectionContext(java.lang.Object;
Method #47 = com.foundation.attribute.IReflectable.zzrGetReflectionId(java.lang.Object;
Method #48 = com.foundation.attribute.IReflectable.zzrReflectionCreateSafeCopy(java.lang.Object;com.foundation.attribute.ReflectionContext;
Method #49 = com.foundation.attribute.IReflectable.zzrReflectionPreSynchronize(java.lang.Object;com.foundation.attribute.ReflectionContext;com.foundation.attribute.ReflectionContext;com.foundation.common.IEntity;com.foundation.attribute.IReflectable;com.foundation.attribute.ReflectionContext;
Method #50 = com.foundation.attribute.IReflectable.zzrReflectionDestroy(java.lang.Object;
Method #51 = com.foundation.attribute.IReflectable.zzrReflectionInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #52 = com.foundation.attribute.IReflectable.zzrReflectionPostInitialize(java.lang.Object;com.foundation.attribute.AbstractReflectData;
Method #53 = com.foundation.attribute.IReflectable.zzrReflectionLocalRegister(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #54 = com.foundation.attribute.IReflectable.zzrReflectionGetLastUpdateMessageNumber(java.lang.Object;com.foundation.attribute.IReflectUpdateHandler;
Method #55 = com.foundation.attribute.IReflectable.zzrCollectPostSynchronizeReflectables(java.lang.Object;com.foundation.attribute.CreateReflectDataContext;
Method #56 = com.foundation.clone.ICloneable.cloneObject(com.foundation.metadata.CloneContext;com.foundation.common.MetadataContainer;
Method #57 = com.foundation.metadata.ISupportsContainment.getMonitor
Method #58 = com.foundation.event.IEventEmitter.registerListener(com.foundation.metadata.Event;com.foundation.event.IHandler;boolean;
Method #59 = com.foundation.event.IEventEmitter.registerListener(int;com.foundation.event.IHandler;boolean;
Method #60 = com.foundation.event.IEventEmitter.unregisterListener(int;com.foundation.event.IHandler;
Method #61 = com.foundation.event.IEventEmitter.unregisterListener(com.foundation.metadata.Event;com.foundation.event.IHandler;

View File

@@ -0,0 +1 @@
java.exe -XX:MaxPermSize=256m -Xmx2g -cp "Brainstorm Web Server.jar"; -Dproperties="release.properties" -Dpath.server.xml="./server.xml" com.foundation.web.application.BrainstormWebServer "./Brainstorm Web Server Core.jar" "./swt.jar"

View File

@@ -0,0 +1,4 @@
<server webapp-path="./webapps" webapp-archives="./webapp-archives">
<listener address="" port="80" type="http" names="http,html,80"/>
<listener address="" port="443" type="ssl" names="https,ssl,tls,443"/>
</server>

View File

@@ -0,0 +1,37 @@
package com.foundation.web.application;
import java.io.File;
import java.lang.reflect.Method;
public class BrainstormWebServer {
/**
* Starts the brainstorm web server by loading the core web server code into a custom class loader.
* @param args The arguments should be references to jars used by the core web server.
*/
public static void main(String[] args) {
try {
ServerClassLoader loader;
Class webServerApplicationClass;
Method mainMethod;
File[] files = new File[args.length];
if(args.length < 1) {
System.out.println("Must provide one or more arguments, each a path (relative or absolute) to the jars, including the Brainstorm Webserver Core.jar file.");
}//if//
for(int index = 0; index < files.length; index++) {
files[index] = new File(args[index]);
}//for//
loader = new ServerClassLoader(files);
webServerApplicationClass = loader.loadClass("com.foundation.web.application.WebServerApplication");
mainMethod = webServerApplicationClass.getDeclaredMethod("main", (Class[]) null);
mainMethod.invoke(null, (Object[]) null);
}//try//
catch(Throwable e) {
e.printStackTrace();
System.exit(1);
}//catch//
}//main()//
}//BrainstormWebServer//

View File

@@ -0,0 +1,231 @@
package com.foundation.web.application;
import java.io.*;
import java.net.URL;
import java.net.URLConnection;
import java.net.URLStreamHandler;
import java.util.zip.*;
import java.util.jar.*;
/**
* Used to load the view component builders only.
*/
public class ServerClassLoader extends ClassLoader {
private File[] jars = null;
/**
* ServerClassLoader constructor.
* @param jars The java.io.File objects for each jar loadable.
*/
public ServerClassLoader(File[] jars) throws IOException {
super();
this.jars = jars;
for(int index = 0; index < jars.length; index++) {
File jar = jars[index];
if(!jar.exists() || !jar.canRead()) {
throw new IOException("Cannot find or access the jar: " + jar.getCanonicalPath());
}//if//
else if(!jar.getPath().toLowerCase().endsWith(".jar")) {
throw new IOException("The passed file is not a jar: " + jar.getCanonicalPath());
}//else if//
}//for//
}//ServerClassLoader()//
/* (non-Javadoc)
* @see java.lang.ClassLoader#findResource(java.lang.String)
*/
protected URL findResource(String name) {
URL result = null;
name = name.replace('\\', '/');
while(name.charAt(0) == '/') {
name = name.substring(1);
}//while//
for(int index = 0; result == null && index < jars.length; index++) {
result = findResource(jars[index], name);
}//for//
return result;
}//findResource()//
/**
* Finds the given class by searching the given file or directory.
* @param file The file or directory to search.
* @param classFileName The name of the class to find.
*/
private URL findResource(File file, String name) {
URL result = null;
if(file.exists()) {
boolean cleanup = true;
try {
JarFile jar = new JarFile(file, false, JarFile.OPEN_READ);
try {
JarEntry entry = jar.getJarEntry(name);
if(entry != null) {
/*
final JarFile jf = jar;
final JarEntry je = entry;
cleanup = false;
result = new URL("", null, 0, name, new URLStreamHandler() {
protected URLConnection openConnection(URL u) throws IOException {
return new URLConnection(u) {
public void connect() throws IOException {
}//connect()//
public InputStream getInputStream() throws IOException {
return jf.getInputStream(je);
}//getInputStream()//
public void finalize() {
try {jf.close();} catch(IOException e) {e.printStackTrace();}
}//finalize()//
};
}//openConnection()//
});
*/
final File jFile = file;
final String jeName = name;
result = new URL("", null, 0, name, new URLStreamHandler() {
protected URLConnection openConnection(URL u) throws IOException {
return new URLConnection(u) {
public void connect() throws IOException {
}//connect()//
public InputStream getInputStream() throws IOException {
return new InputStream() {
JarFile _jar = new JarFile(jFile, false, JarFile.OPEN_READ);
JarEntry _entry = _jar.getJarEntry(jeName);
InputStream _in = _jar.getInputStream(_entry);
public int read() throws IOException {
return _in.read();
}//read()//
public int available() throws IOException {
return _in.available();
}//available()//
public synchronized void mark(int readlimit) {
_in.mark(readlimit);
}//mark()//
public boolean markSupported() {
return _in.markSupported();
}//markSupported()//
public int read(byte[] b, int off, int len) throws IOException {
return _in.read(b, off, len);
}//read()//
public int read(byte[] b) throws IOException {
return _in.read(b);
}//read()//
public synchronized void reset() throws IOException {
_in.reset();
}//reset()//
public long skip(long n) throws IOException {
return _in.skip(n);
}//skip()//
public void close() throws IOException {
try {_jar.close();} catch(IOException e) {e.printStackTrace();}
super.close();
}//close()//
};
}//getInputStream()//
};
}//openConnection()//
});
}//if//
}//try//
finally {
if(cleanup && jar != null) {
jar.close();
}//if//
}//finally//
}//try//
catch(IOException e) {
throw new RuntimeException(e);
}//catch//
}//if//
return result;
}//findResource()//
/* (non-Javadoc)
* @see java.lang.ClassLoader#findClass(java.lang.String)
*/
protected Class findClass(String className) throws ClassNotFoundException {
Class type = null;
String classFileName = className.replace('.', '/') + ".class";
//Debug.log("ServerClassLoader - Looking the for class: " + className);
/*
try {
type = super.findClass(className);
}//try//
catch(ClassNotFoundException e) {
//Ignore.//
}//catch//
*/
for(int index = 0; type == null && index < jars.length; index++) {
type = findClass(jars[index], className, classFileName);
}//for//
if(type == null) {
throw new ClassNotFoundException("Couldn't find the class: " + className);
}//if//
return type;
}//findClass()//
/**
* Finds the given class by searching the given file or directory.
* @param file The file or directory to search.
* @param classFileName The name of the class to find.
*/
private Class findClass(File file, String className, String classFileName) throws ClassNotFoundException {
Class type = null;
if(file.exists()) {
byte[] bytes = null;
try {
JarFile jar = new JarFile(file, false, JarFile.OPEN_READ);
try {
JarEntry entry = jar.getJarEntry(classFileName);
if(entry != null) {
InputStream in = jar.getInputStream(entry);
int approximateSize = in.available();
int readCount = 0;
//TODO: Can this be optimized? Maybe smaller buffer.. maybe use a native buffer (nio)?
byte[] buffer = new byte[1000];
ByteArrayOutputStream bout = new ByteArrayOutputStream(approximateSize);
//Read all the bytes into an in-memory buffer.//
while(readCount != -1) {
bout.write(buffer, 0, readCount);
readCount = in.read(buffer);
}//while//
bytes = bout.toByteArray();
in.close();
}//if//
}//try//
finally {
if(jar != null) {
jar.close();
}//if//
}//finally//
if(bytes != null) {
type = defineClass(className, bytes, 0, bytes.length);
}//if//
}//try//
catch(IOException e) {
throw new RuntimeException(e);
}//catch//
}//if//
return type;
}//findClass()//
}//ServerClassLoader//

View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore