You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by si...@apache.org on 2009/10/05 23:21:55 UTC
svn commit: r822022 [2/11] - in /labs/magma/branches/0.0.2: ./
beans-richtext/ beans-richtext/src/main/java/org/apache/magma/beans/
beans-richtext/src/main/java/org/apache/magma/beans/richtext/
beans-richtext/src/main/java/org/apache/magma/conversion/r...
Modified: labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/BeanWithRichTexts.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/BeanWithRichTexts.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/BeanWithRichTexts.java (original)
+++ labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/BeanWithRichTexts.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.beans;
import org.apache.magma.validation.validators.Length;
Modified: labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/TestOnBean.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/TestOnBean.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/TestOnBean.java (original)
+++ labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/beans/TestOnBean.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.beans;
import static org.junit.Assert.*;
Modified: labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/validation/validators/RichTextVisitorTest.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/validation/validators/RichTextVisitorTest.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/validation/validators/RichTextVisitorTest.java (original)
+++ labs/magma/branches/0.0.2/beans-richtext/src/test/java/org/apache/magma/validation/validators/RichTextVisitorTest.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.validation.validators;
import static org.junit.Assert.*;
Modified: labs/magma/branches/0.0.2/beans-richtext/src/test/resources/org/apache/magma/beans/wordmess.html
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/beans-richtext/src/test/resources/org/apache/magma/beans/wordmess.html?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/beans-richtext/src/test/resources/org/apache/magma/beans/wordmess.html (original)
+++ labs/magma/branches/0.0.2/beans-richtext/src/test/resources/org/apache/magma/beans/wordmess.html Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+<!--
+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.
+-->
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify; mso-hyphenate: none">
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />
@@ -64,4 +80,4 @@
<A href="http://www.birmaniademocratica.org/"><U><FONT color=#800080 size=3>zzzz</FONT></U></A><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: justify; mso-layout-grid-align: none">
<SPAN style="FONT-FAMILY: Arial; mso-ansi-language: IT; mso-bidi-font-family: 'Times New Roman'"><o:p>
-<FONT color=#000000 size=3> </FONT></o:p></SPAN></P>
\ No newline at end of file
+<FONT color=#000000 size=3> </FONT></o:p></SPAN></P>
Modified: labs/magma/branches/0.0.2/database-jpa/src/main/java/org/apache/magma/database/openjpa/JPADatabase.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/database-jpa/src/main/java/org/apache/magma/database/openjpa/JPADatabase.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/database-jpa/src/main/java/org/apache/magma/database/openjpa/JPADatabase.java (original)
+++ labs/magma/branches/0.0.2/database-jpa/src/main/java/org/apache/magma/database/openjpa/JPADatabase.java Mon Oct 5 21:21:39 2009
@@ -24,6 +24,7 @@
import javax.persistence.Query;
import org.apache.magma.database.Database;
+import org.apache.magma.database.LogicallyNamed;
/**
* Subclass of Database using JPA.
@@ -49,6 +50,13 @@
return manager.find(clazz, id[0]);
}
+ public <T extends LogicallyNamed> T named(Class<T> clazz, String logicalName) {
+ List<T> list = query(clazz, "WHERE x.logicalName=?1", logicalName);
+ if (list.size() == 0) return null;
+ return list.get(0);
+ }
+
+
@SuppressWarnings("unchecked")
public <T> List<T> query(Class<T> clazz, int start, int page, String query, Object... params) {
if (!query.toUpperCase().startsWith("SELECT")) {
Modified: labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/TestJPAPersistedInjection.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/TestJPAPersistedInjection.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/TestJPAPersistedInjection.java (original)
+++ labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/TestJPAPersistedInjection.java Mon Oct 5 21:21:39 2009
@@ -17,9 +17,19 @@
package org.apache.magma.database.openjpa;
import static org.junit.Assert.*;
+import static org.hamcrest.CoreMatchers.*;
+
+import java.lang.reflect.Method;
import org.apache.magma.database.DatabasePersisted;
+import org.apache.magma.database.InstallIdByDefault.WithDefaultId;
+import org.apache.magma.database.openjpa.InstallVersionByDefault.WithDefaultVersion;
+import org.apache.magma.database.openjpa.stuff.EmptyFakeBean;
import org.apache.magma.database.openjpa.stuff.FakeBean;
+import org.apache.magma.database.openjpa.stuff.FakeBeanPropertyAccess;
+import org.apache.magma.database.openjpa.stuff.FakeSubBean;
+import org.apache.magma.database.openjpa.stuff.NoIdFakeBean;
+import org.apache.magma.database.openjpa.stuff.NoVersionFakeBean;
import org.junit.Test;
@@ -30,5 +40,46 @@
FakeBean b = new FakeBean();
assertTrue(b instanceof DatabasePersisted);
}
+
+ /*
+ * TODO enable this when AspectJ bug is closed
+ @Test
+ public void versionAndId() throws Exception {
+ Object b = new EmptyFakeBean();
+ assertTrue("No default id on " + b.getClass(), b instanceof WithDefaultId);
+ assertTrue("No default version" + b.getClass(), b instanceof WithDefaultVersion);
+
+ b = new FakeBean();
+ assertFalse("Default id on " + b.getClass(), b instanceof WithDefaultId);
+ assertTrue("No default version" + b.getClass(), b instanceof WithDefaultVersion);
+
+ b = new FakeBeanPropertyAccess();
+ assertFalse("Default id on " + b.getClass(), b instanceof WithDefaultId);
+ assertTrue("No default version" + b.getClass(), b instanceof WithDefaultVersion);
+
+ b = new NoVersionFakeBean();
+ assertTrue("No default id on " + b.getClass(), b instanceof WithDefaultId);
+ assertFalse("Default version" + b.getClass(), b instanceof WithDefaultVersion);
+
+ b = new NoIdFakeBean();
+ assertFalse("Default id on " + b.getClass(), b instanceof WithDefaultId);
+ assertTrue("No default version" + b.getClass(), b instanceof WithDefaultVersion);
+
+ }
+ */
+ /*
+ * TODO enable this when AspectJ bug is closed
+ @Test
+ public void noDoubles() throws Exception {
+ Method[] methods = FakeSubBean.class.getMethods();
+ for (Method method : methods) {
+ System.out.println(method.getName() + " : " + method.getDeclaringClass().getName());
+ if (method.getDeclaringClass().equals(FakeSubBean.class)) {
+ assertThat(method.getName(), not(equalTo("getVersion")));
+ //assertThat(method.getName(), not(equalTo("getId")));
+ }
+ }
+ }
+ */
}
Modified: labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBean.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBean.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBean.java (original)
+++ labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBean.java Mon Oct 5 21:21:39 2009
@@ -21,14 +21,19 @@
import javax.persistence.Id;
import org.apache.magma.beans.MagmaBean;
+import org.apache.magma.database.NoId;
+import org.apache.magma.database.openjpa.NoVersion;
@MagmaBean
@Entity
+@NoId
+@NoVersion
public class FakeBean {
@Id
private int id;
private String name;
+
public int getId() {
return id;
}
Modified: labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBeanPropertyAccess.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBeanPropertyAccess.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBeanPropertyAccess.java (original)
+++ labs/magma/branches/0.0.2/database-jpa/src/test/java/org/apache/magma/database/openjpa/stuff/FakeBeanPropertyAccess.java Mon Oct 5 21:21:39 2009
@@ -26,18 +26,8 @@
@Entity
public class FakeBeanPropertyAccess {
- private int id;
private String name;
- @Id
- @GeneratedValue
- public int getId() {
- return id;
- }
- public void setId(int id) {
- this.id = id;
- }
-
public String getName() {
return name;
}
Propchange: labs/magma/branches/0.0.2/database-junit-pack/src/main/java/org/apache/magma/database/openjpa/
('svn:mergeinfo' removed)
Modified: labs/magma/branches/0.0.2/database-junit-pack/src/test/java/org/apache/magma/database/junitpack/Bean.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/database-junit-pack/src/test/java/org/apache/magma/database/junitpack/Bean.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/database-junit-pack/src/test/java/org/apache/magma/database/junitpack/Bean.java (original)
+++ labs/magma/branches/0.0.2/database-junit-pack/src/test/java/org/apache/magma/database/junitpack/Bean.java Mon Oct 5 21:21:39 2009
@@ -16,18 +16,18 @@
*/
package org.apache.magma.database.junitpack;
-import org.apache.magma.beans.MagmaBean;
-
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
+import org.apache.magma.basics.startup.Cycle;
+import org.apache.magma.beans.BeansHandlerAspect;
+import org.apache.magma.beans.MagmaBean;
+
@Entity
@MagmaBean
public class Bean {
- private long id;
-
private String name;
public String getName() {
@@ -38,14 +38,4 @@
this.name = name;
}
- @Id
- @GeneratedValue
- public long getId() {
- return id;
- }
-
- protected void setId(long id) {
- this.id = id;
- }
-
}
Modified: labs/magma/branches/0.0.2/email-commons/pom.xml
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-commons/pom.xml?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-commons/pom.xml (original)
+++ labs/magma/branches/0.0.2/email-commons/pom.xml Mon Oct 5 21:21:39 2009
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<parent>
<artifactId>magma-parent</artifactId>
Modified: labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java (original)
+++ labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/CommonsEmail.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
import java.io.UnsupportedEncodingException;
Modified: labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/InstallCommonsEmails.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/InstallCommonsEmails.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/InstallCommonsEmails.aj (original)
+++ labs/magma/branches/0.0.2/email-commons/src/main/java/org/apache/magma/email/InstallCommonsEmails.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
Modified: labs/magma/branches/0.0.2/email-simulator/pom.xml
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/pom.xml?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/pom.xml (original)
+++ labs/magma/branches/0.0.2/email-simulator/pom.xml Mon Oct 5 21:21:39 2009
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<parent>
<artifactId>magma-parent</artifactId>
@@ -34,4 +50,4 @@
<version>0.0.2-SNAPSHOT</version>
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailDump.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailDump.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailDump.java (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailDump.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
import java.util.Map;
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolder.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolder.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolder.java (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolder.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
import java.util.ArrayList;
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolderWebHandler.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolderWebHandler.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolderWebHandler.java (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailHolderWebHandler.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
import org.apache.magma.website.HtmlProducer;
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailInterceptor.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailInterceptor.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailInterceptor.aj (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/EmailInterceptor.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
import java.util.Map;
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/InstallEmailListInDeveloper.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/InstallEmailListInDeveloper.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/InstallEmailListInDeveloper.aj (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/java/org/apache/magma/email/InstallEmailListInDeveloper.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.email;
import org.apache.magma.website.CompoundType;
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/dump.vm
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/dump.vm?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/dump.vm (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/dump.vm Mon Oct 5 21:21:39 2009
@@ -1,3 +1,17 @@
+## 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.
<h1>Mail $index</h1>
<div>
<dl>
@@ -6,4 +20,4 @@
<dd>$mail.dump.get($field)</dd>
#end
</dl>
-</div>
\ No newline at end of file
+</div>
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/list.vm
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/list.vm?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/list.vm (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/email/list.vm Mon Oct 5 21:21:39 2009
@@ -1,3 +1,17 @@
+## 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.
<h1>E-mails</h1>
<p>
<table>
@@ -18,4 +32,4 @@
#end
</tbody>
</table>
-</p>
\ No newline at end of file
+</p>
Modified: labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/website/developer/emailPanel.vm
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/website/developer/emailPanel.vm?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/website/developer/emailPanel.vm (original)
+++ labs/magma/branches/0.0.2/email-simulator/src/main/resources/org/apache/magma/website/developer/emailPanel.vm Mon Oct 5 21:21:39 2009
@@ -1,3 +1,17 @@
+## 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.
<b>E-mail</b>
<ul>
<li><a href="emails/list">List sent emails</a></li>
Modified: labs/magma/branches/0.0.2/foundation-basics/.fbprefs
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/.fbprefs?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/.fbprefs (original)
+++ labs/magma/branches/0.0.2/foundation-basics/.fbprefs Mon Oct 5 21:21:39 2009
@@ -1,3 +1,18 @@
+#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.
+
#FindBugs User Preferences
#Sun Apr 20 12:19:38 CEST 2008
detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequence.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequence.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequence.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequence.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequenceImpl.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequenceImpl.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequenceImpl.aj (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/DefaultCharSequenceImpl.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/MagmaExceptionChaining.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoRegisterContextOwners.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoRegisterContextOwners.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoRegisterContextOwners.aj (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoRegisterContextOwners.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoSwitchContextOwner.aj
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoSwitchContextOwner.aj?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoSwitchContextOwner.aj (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/AutoSwitchContextOwner.aj Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ClassContextElement.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ClassContextElement.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ClassContextElement.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ClassContextElement.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextElement.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextElement.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextElement.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextElement.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextOwner.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextOwner.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextOwner.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/ContextOwner.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/MethodContextElement.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/MethodContextElement.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/MethodContextElement.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/MethodContextElement.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
import java.lang.reflect.Method;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/RunningContext.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/RunningContext.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/RunningContext.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/RunningContext.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
import java.util.HashMap;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/StringContextElement.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/StringContextElement.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/StringContextElement.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/StringContextElement.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/SubRunningContext.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/SubRunningContext.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/SubRunningContext.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/SubRunningContext.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
import java.lang.reflect.Method;
Propchange: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/context/SubRunningContext.java
('svn:mergeinfo' removed)
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/services/ServiceFinder.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/services/ServiceFinder.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/services/ServiceFinder.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/services/ServiceFinder.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.services;
import java.util.ArrayList;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Cycle.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Cycle.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Cycle.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Cycle.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.startup;
import java.lang.reflect.Method;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleCleanable.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleCleanable.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleCleanable.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleCleanable.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.startup;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleThreadLocal.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleThreadLocal.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleThreadLocal.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/CycleThreadLocal.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.startup;
/**
Modified: labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Startup.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Startup.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Startup.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/main/java/org/apache/magma/basics/startup/Startup.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.startup;
import java.lang.reflect.Method;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/ExceptionChainingTest.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/ExceptionChainingTest.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/ExceptionChainingTest.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/ExceptionChainingTest.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics;
import static org.junit.Assert.*;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/FakeContextOwner.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/FakeContextOwner.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/FakeContextOwner.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/FakeContextOwner.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
import java.util.List;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/RunningContextTest.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/RunningContextTest.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/RunningContextTest.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/RunningContextTest.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
import static org.junit.Assert.assertEquals;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/SubRunningContextTest.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/SubRunningContextTest.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/SubRunningContextTest.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/context/SubRunningContextTest.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.context;
import java.util.List;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockService.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockService.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockService.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockService.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.services;
public class MockService {
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl1.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl1.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl1.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl1.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.services;
public class MockServiceImpl1 extends MockService {
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl2.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl2.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl2.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/MockServiceImpl2.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.services;
public class MockServiceImpl2 extends MockService {
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/ServiceFinderTest.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/ServiceFinderTest.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/ServiceFinderTest.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/services/ServiceFinderTest.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.services;
import static org.junit.Assert.*;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/startup/CycleTest.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/startup/CycleTest.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/startup/CycleTest.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/startup/CycleTest.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.startup;
import static org.junit.Assert.*;
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/FinallyConcrete.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/FinallyConcrete.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/FinallyConcrete.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/FinallyConcrete.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.utils.genericstuff;
public class FinallyConcrete extends YetMoreIntermediate<Long> {
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/MoreIntermediate.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/MoreIntermediate.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/MoreIntermediate.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/MoreIntermediate.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.utils.genericstuff;
public class MoreIntermediate<K> extends IntermediateThing<K> {
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/YetMoreIntermediate.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/YetMoreIntermediate.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/YetMoreIntermediate.java (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/java/org/apache/magma/basics/utils/genericstuff/YetMoreIntermediate.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.basics.utils.genericstuff;
public class YetMoreIntermediate<K> extends MoreIntermediate<K> {
Modified: labs/magma/branches/0.0.2/foundation-basics/src/test/resources/META-INF/magma.properties
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-basics/src/test/resources/META-INF/magma.properties?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-basics/src/test/resources/META-INF/magma.properties (original)
+++ labs/magma/branches/0.0.2/foundation-basics/src/test/resources/META-INF/magma.properties Mon Oct 5 21:21:39 2009
@@ -1,3 +1,17 @@
+#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.
org.apache.magma.basics.services.MockService.impl1=org.apache.magma.basics.services.MockServiceImpl1
-org.apache.magma.basics.services.MockService.impl2=org.apache.magma.basics.services.MockServiceImpl2
\ No newline at end of file
+org.apache.magma.basics.services.MockService.impl2=org.apache.magma.basics.services.MockServiceImpl2
Modified: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/CollectionHandler.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/CollectionHandler.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/CollectionHandler.java (original)
+++ labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/CollectionHandler.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.beans;
import java.util.ArrayList;
Modified: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/Consider.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/Consider.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/Consider.java (original)
+++ labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/Consider.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.beans;
import java.lang.annotation.ElementType;
Modified: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/PropertyInfo.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/PropertyInfo.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/PropertyInfo.java (original)
+++ labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/beans/PropertyInfo.java Mon Oct 5 21:21:39 2009
@@ -163,6 +163,13 @@
this.name = descriptor.getName();
Method readMethod = descriptor.getReadMethod();
Method writeMethod = descriptor.getWriteMethod();
+
+ if ((readMethod != null && readMethod.isAnnotationPresent(MagReadOnly.class)) ||
+ (writeMethod != null && writeMethod.isAnnotationPresent(MagReadOnly.class)) ||
+ beanClass.isAnnotationPresent(MagReadOnly.class)) {
+ writeMethod = null;
+ }
+
Consider consider = null;
if (readMethod != null) consider = readMethod.getAnnotation(Consider.class);
if (consider == null && writeMethod != null) consider = writeMethod.getAnnotation(Consider.class);
Propchange: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/AddConversionInHandler.aj
('svn:mergeinfo' removed)
Propchange: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/AddConverterInPropertyInfo.aj
('svn:mergeinfo' removed)
Propchange: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/ConversionException.java
('svn:mergeinfo' removed)
Propchange: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/Converter.java
('svn:mergeinfo' removed)
Propchange: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/Converters.java
('svn:mergeinfo' removed)
Modified: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/GenericConverter.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/GenericConverter.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/GenericConverter.java (original)
+++ labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/GenericConverter.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.conversion;
import org.apache.magma.beans.PropertyInfo;
Modified: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/PropertyAwareConverter.java
URL: http://svn.apache.org/viewvc/labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/PropertyAwareConverter.java?rev=822022&r1=822021&r2=822022&view=diff
==============================================================================
--- labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/PropertyAwareConverter.java (original)
+++ labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/PropertyAwareConverter.java Mon Oct 5 21:21:39 2009
@@ -1,3 +1,19 @@
+/*
+ * 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.apache.magma.conversion;
import org.apache.magma.beans.PropertyInfo;
Propchange: labs/magma/branches/0.0.2/foundation-beans/src/main/java/org/apache/magma/conversion/string/BaseConverter.java
('svn:mergeinfo' removed)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org