From: erik Date: Fri, 4 Apr 2008 23:00:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2@603~193 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=aa75194699aacf96259159537f541b05da11825e;p=utils --- diff --git a/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/ForwarderThread.java b/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/ForwarderThread.java index 21a52a94..22008c94 100644 --- a/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/ForwarderThread.java +++ b/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/ForwarderThread.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.socketproxy; import java.io.IOException; diff --git a/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/SocketProxy.java b/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/SocketProxy.java index 5a59b1c6..a4b1deaa 100644 --- a/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/SocketProxy.java +++ b/trunk/socketproxy/src/main/java/org/wamblee/socketproxy/SocketProxy.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.socketproxy; /* diff --git a/trunk/support/general/src/main/java/org/wamblee/io/SimpleProcess.java b/trunk/support/general/src/main/java/org/wamblee/io/SimpleProcess.java index 6b922b93..d4f7b16b 100644 --- a/trunk/support/general/src/main/java/org/wamblee/io/SimpleProcess.java +++ b/trunk/support/general/src/main/java/org/wamblee/io/SimpleProcess.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.io; import java.io.BufferedReader; diff --git a/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java b/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java index 59b1dc18..45af7fc1 100644 --- a/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java +++ b/trunk/support/general/src/test/java/org/wamblee/general/TestBeanFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.general; public class TestBeanFactory implements BeanFactory { diff --git a/trunk/support/general/src/test/java/org/wamblee/io/DirectoryMonitorTest.java b/trunk/support/general/src/test/java/org/wamblee/io/DirectoryMonitorTest.java index b778adac..835c6963 100644 --- a/trunk/support/general/src/test/java/org/wamblee/io/DirectoryMonitorTest.java +++ b/trunk/support/general/src/test/java/org/wamblee/io/DirectoryMonitorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.io; import org.apache.oro.io.AwkFilenameFilter; diff --git a/trunk/support/general/src/test/java/org/wamblee/test/EventTracker.java b/trunk/support/general/src/test/java/org/wamblee/test/EventTracker.java index fce6b23f..333da1e7 100644 --- a/trunk/support/general/src/test/java/org/wamblee/test/EventTracker.java +++ b/trunk/support/general/src/test/java/org/wamblee/test/EventTracker.java @@ -54,9 +54,13 @@ public class EventTracker { * */ public EventTracker() { - _events = new HashMap>(); + clear(); } + public void clear() { + _events = new HashMap>(); + } + /** * Called by a thread to inform that an event has occurred. * @@ -127,4 +131,16 @@ public class EventTracker { } return count; } + + /** + * Gets the total event count over all threads. + * @return + */ + public synchronized int getEventCount() { + int count = 0; + for (Thread thread: _events.keySet()) { + count += _events.get(thread).size(); + } + return count; + } } diff --git a/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallback.java b/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallback.java index 4eec4cd3..37ea898b 100644 --- a/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallback.java +++ b/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallback.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.test.spring; import java.util.Map; diff --git a/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallbackWithoutResult.java b/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallbackWithoutResult.java index 0205aac4..a5011e48 100644 --- a/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallbackWithoutResult.java +++ b/trunk/support/spring/src/test/java/org/wamblee/test/spring/TestTransactionCallbackWithoutResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.test.spring; /** diff --git a/trunk/system/general/src/main/java/org/wamblee/system/AbstractComponent.java b/trunk/system/general/src/main/java/org/wamblee/system/AbstractComponent.java index 93f62c1e..a9752d1f 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/AbstractComponent.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/AbstractComponent.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.util.ArrayList; diff --git a/trunk/system/general/src/main/java/org/wamblee/system/Component.java b/trunk/system/general/src/main/java/org/wamblee/system/Component.java index 4083c5bd..22ad381e 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/Component.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/Component.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; /** diff --git a/trunk/system/general/src/main/java/org/wamblee/system/Container.java b/trunk/system/general/src/main/java/org/wamblee/system/Container.java index d9dc29be..a1bb29c2 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/Container.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/Container.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.util.ArrayList; diff --git a/trunk/system/general/src/main/java/org/wamblee/system/DefaultProvidedInterface.java b/trunk/system/general/src/main/java/org/wamblee/system/DefaultProvidedInterface.java index e80547c5..fea5ec04 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/DefaultProvidedInterface.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/DefaultProvidedInterface.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.util.Arrays; diff --git a/trunk/system/general/src/main/java/org/wamblee/system/DefaultRequiredInterface.java b/trunk/system/general/src/main/java/org/wamblee/system/DefaultRequiredInterface.java index 7bc5b270..b0227ee0 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/DefaultRequiredInterface.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/DefaultRequiredInterface.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.util.Arrays; diff --git a/trunk/system/general/src/main/java/org/wamblee/system/ProvidedInterface.java b/trunk/system/general/src/main/java/org/wamblee/system/ProvidedInterface.java index 20976d8a..1ccdf64c 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/ProvidedInterface.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/ProvidedInterface.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.util.Collection; diff --git a/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterface.java b/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterface.java index f012df51..033c5d7e 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterface.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/RequiredInterface.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; public interface RequiredInterface { diff --git a/trunk/system/general/src/main/java/org/wamblee/system/SystemAssembler.java b/trunk/system/general/src/main/java/org/wamblee/system/SystemAssembler.java index 50e0e3ab..90a98440 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/SystemAssembler.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/SystemAssembler.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.util.ArrayList; diff --git a/trunk/system/general/src/main/java/org/wamblee/system/SystemAssemblyException.java b/trunk/system/general/src/main/java/org/wamblee/system/SystemAssemblyException.java index 328a4c62..4733ad14 100644 --- a/trunk/system/general/src/main/java/org/wamblee/system/SystemAssemblyException.java +++ b/trunk/system/general/src/main/java/org/wamblee/system/SystemAssemblyException.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; /** diff --git a/trunk/system/general/src/test/java/org/wamblee/system/Application.java b/trunk/system/general/src/test/java/org/wamblee/system/Application.java index 3b84b3cb..5bc62401 100644 --- a/trunk/system/general/src/test/java/org/wamblee/system/Application.java +++ b/trunk/system/general/src/test/java/org/wamblee/system/Application.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import javax.sql.DataSource; diff --git a/trunk/system/general/src/test/java/org/wamblee/system/DefaultInterfaceDescriptorTest.java b/trunk/system/general/src/test/java/org/wamblee/system/DefaultInterfaceDescriptorTest.java index b6a5eb8b..6786e164 100644 --- a/trunk/system/general/src/test/java/org/wamblee/system/DefaultInterfaceDescriptorTest.java +++ b/trunk/system/general/src/test/java/org/wamblee/system/DefaultInterfaceDescriptorTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.io.Serializable; diff --git a/trunk/system/general/src/test/java/org/wamblee/system/DefaultRequiredInterfaceTest.java b/trunk/system/general/src/test/java/org/wamblee/system/DefaultRequiredInterfaceTest.java index 45cf9d92..5a9f7811 100644 --- a/trunk/system/general/src/test/java/org/wamblee/system/DefaultRequiredInterfaceTest.java +++ b/trunk/system/general/src/test/java/org/wamblee/system/DefaultRequiredInterfaceTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import junit.framework.TestCase; diff --git a/trunk/system/general/src/test/java/org/wamblee/system/Environment.java b/trunk/system/general/src/test/java/org/wamblee/system/Environment.java index d6465d68..1fdc079e 100644 --- a/trunk/system/general/src/test/java/org/wamblee/system/Environment.java +++ b/trunk/system/general/src/test/java/org/wamblee/system/Environment.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import javax.sql.DataSource; diff --git a/trunk/system/general/src/test/java/org/wamblee/system/SystemAssemblerTest.java b/trunk/system/general/src/test/java/org/wamblee/system/SystemAssemblerTest.java index 7bbf08bf..c67529b8 100644 --- a/trunk/system/general/src/test/java/org/wamblee/system/SystemAssemblerTest.java +++ b/trunk/system/general/src/test/java/org/wamblee/system/SystemAssemblerTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system; import java.io.Serializable; diff --git a/trunk/system/spring/src/main/java/org/wamblee/system/spring/PropertySetter.java b/trunk/system/spring/src/main/java/org/wamblee/system/spring/PropertySetter.java index e71b655e..00b9f307 100644 --- a/trunk/system/spring/src/main/java/org/wamblee/system/spring/PropertySetter.java +++ b/trunk/system/spring/src/main/java/org/wamblee/system/spring/PropertySetter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; import java.util.Properties; diff --git a/trunk/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java b/trunk/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java index 50e7e967..95e2e786 100644 --- a/trunk/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java +++ b/trunk/system/spring/src/main/java/org/wamblee/system/spring/RequiredServiceBean.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; import org.springframework.beans.factory.FactoryBean; diff --git a/trunk/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java b/trunk/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java index f7177759..763875f6 100644 --- a/trunk/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java +++ b/trunk/system/spring/src/main/java/org/wamblee/system/spring/SpringComponent.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; import java.util.Map; diff --git a/trunk/system/spring/src/main/java/org/wamblee/system/spring/StringResource.java b/trunk/system/spring/src/main/java/org/wamblee/system/spring/StringResource.java index 1869e577..3f9a7919 100644 --- a/trunk/system/spring/src/main/java/org/wamblee/system/spring/StringResource.java +++ b/trunk/system/spring/src/main/java/org/wamblee/system/spring/StringResource.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; import java.io.ByteArrayInputStream; diff --git a/trunk/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java b/trunk/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java index 9b103b81..5bbafa1d 100644 --- a/trunk/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java +++ b/trunk/system/spring/src/test/java/org/wamblee/system/spring/BlaService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; public class BlaService { diff --git a/trunk/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java b/trunk/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java index fe9b2d5d..622b420d 100644 --- a/trunk/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java +++ b/trunk/system/spring/src/test/java/org/wamblee/system/spring/HelloService.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; public class HelloService { diff --git a/trunk/system/spring/src/test/java/org/wamblee/system/spring/SpringComponentTest.java b/trunk/system/spring/src/test/java/org/wamblee/system/spring/SpringComponentTest.java index 2da7a235..97e0417e 100644 --- a/trunk/system/spring/src/test/java/org/wamblee/system/spring/SpringComponentTest.java +++ b/trunk/system/spring/src/test/java/org/wamblee/system/spring/SpringComponentTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2007 the original author or authors. + * + * Licensed 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.wamblee.system.spring; import java.io.IOException;