diff --git a/hera-core/src/main/java/org/synyx/hera/core/Plugin.java b/hera-core/src/main/java/org/synyx/hera/core/Plugin.java index b03369c..a70b2d2 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/Plugin.java +++ b/hera-core/src/main/java/org/synyx/hera/core/Plugin.java @@ -1,3 +1,19 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core; /** diff --git a/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java b/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java index af5f6a4..00a7009 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java +++ b/hera-core/src/main/java/org/synyx/hera/core/PluginRegistry.java @@ -1,3 +1,19 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core; import java.util.ArrayList; diff --git a/hera-core/src/main/java/org/synyx/hera/core/config/PluginListDefinitionParser.java b/hera-core/src/main/java/org/synyx/hera/core/config/PluginListDefinitionParser.java index 4d6def8..7fac33f 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/config/PluginListDefinitionParser.java +++ b/hera-core/src/main/java/org/synyx/hera/core/config/PluginListDefinitionParser.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core.config; import org.springframework.beans.factory.support.BeanDefinitionBuilder; diff --git a/hera-core/src/main/java/org/synyx/hera/core/config/PluginRegistryDefinitionParser.java b/hera-core/src/main/java/org/synyx/hera/core/config/PluginRegistryDefinitionParser.java index 1093028..bdc4340 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/config/PluginRegistryDefinitionParser.java +++ b/hera-core/src/main/java/org/synyx/hera/core/config/PluginRegistryDefinitionParser.java @@ -1,9 +1,27 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core.config; import org.w3c.dom.Element; /** + * Simple extension of {@link PluginListDefinitionParser}. Simply registers a + * {@code PluginListDefinitionParser} instead of the original class. + * * @author Oliver Gierke - gierke@synyx.de */ public class PluginRegistryDefinitionParser extends PluginListDefinitionParser { diff --git a/hera-core/src/main/java/org/synyx/hera/core/support/BeanListBeanFactoryPostProcessor.java b/hera-core/src/main/java/org/synyx/hera/core/support/BeanListBeanFactoryPostProcessor.java index 353bef0..e0f65c8 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/support/BeanListBeanFactoryPostProcessor.java +++ b/hera-core/src/main/java/org/synyx/hera/core/support/BeanListBeanFactoryPostProcessor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core.support; import java.util.Arrays; diff --git a/hera-core/src/main/java/org/synyx/hera/core/support/PluginRegistryBeanFactoryPostProcessor.java b/hera-core/src/main/java/org/synyx/hera/core/support/PluginRegistryBeanFactoryPostProcessor.java index b779b9d..5af63ed 100644 --- a/hera-core/src/main/java/org/synyx/hera/core/support/PluginRegistryBeanFactoryPostProcessor.java +++ b/hera-core/src/main/java/org/synyx/hera/core/support/PluginRegistryBeanFactoryPostProcessor.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core.support; import org.springframework.beans.factory.BeanFactory; diff --git a/hera-core/src/test/java/org/synyx/hera/core/PluginRegistryUnitTest.java b/hera-core/src/test/java/org/synyx/hera/core/PluginRegistryUnitTest.java index 84cdb95..98b7cba 100644 --- a/hera-core/src/test/java/org/synyx/hera/core/PluginRegistryUnitTest.java +++ b/hera-core/src/test/java/org/synyx/hera/core/PluginRegistryUnitTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core; import java.util.Arrays; diff --git a/hera-core/src/test/java/org/synyx/hera/core/SamplePlugin.java b/hera-core/src/test/java/org/synyx/hera/core/SamplePlugin.java index 31d4615..febcb60 100644 --- a/hera-core/src/test/java/org/synyx/hera/core/SamplePlugin.java +++ b/hera-core/src/test/java/org/synyx/hera/core/SamplePlugin.java @@ -1,7 +1,20 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core; -import org.synyx.hera.core.Plugin; - /** * @author Oliver Gierke - gierke@synyx.de */ diff --git a/hera-core/src/test/java/org/synyx/hera/core/SamplePluginImplementation.java b/hera-core/src/test/java/org/synyx/hera/core/SamplePluginImplementation.java index 84d4690..67e65c5 100644 --- a/hera-core/src/test/java/org/synyx/hera/core/SamplePluginImplementation.java +++ b/hera-core/src/test/java/org/synyx/hera/core/SamplePluginImplementation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.core; /** diff --git a/hera-metadata/src/main/java/org/synyx/hera/metadata/AbstractMetadataBasedPlugin.java b/hera-metadata/src/main/java/org/synyx/hera/metadata/AbstractMetadataBasedPlugin.java index 1844377..a223155 100644 --- a/hera-metadata/src/main/java/org/synyx/hera/metadata/AbstractMetadataBasedPlugin.java +++ b/hera-metadata/src/main/java/org/synyx/hera/metadata/AbstractMetadataBasedPlugin.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.metadata; import org.synyx.hera.core.Plugin; diff --git a/hera-metadata/src/main/java/org/synyx/hera/metadata/MetadataProvider.java b/hera-metadata/src/main/java/org/synyx/hera/metadata/MetadataProvider.java index 0203643..636b36f 100644 --- a/hera-metadata/src/main/java/org/synyx/hera/metadata/MetadataProvider.java +++ b/hera-metadata/src/main/java/org/synyx/hera/metadata/MetadataProvider.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.metadata; /** diff --git a/hera-metadata/src/main/java/org/synyx/hera/metadata/PluginMetadata.java b/hera-metadata/src/main/java/org/synyx/hera/metadata/PluginMetadata.java index 71e7990..07ba973 100644 --- a/hera-metadata/src/main/java/org/synyx/hera/metadata/PluginMetadata.java +++ b/hera-metadata/src/main/java/org/synyx/hera/metadata/PluginMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.metadata; /** diff --git a/hera-metadata/src/main/java/org/synyx/hera/metadata/SimplePluginMetadata.java b/hera-metadata/src/main/java/org/synyx/hera/metadata/SimplePluginMetadata.java index 21aacdc..1acaa91 100644 --- a/hera-metadata/src/main/java/org/synyx/hera/metadata/SimplePluginMetadata.java +++ b/hera-metadata/src/main/java/org/synyx/hera/metadata/SimplePluginMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2002-2008 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.synyx.hera.metadata; import org.apache.commons.lang.ObjectUtils;