Updated Branches: refs/heads/master 78ef204fd -> c26a4ef7d
DELTASPIKE-399 Moved to literal package to align with existing convention. Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/d3518422 Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/d3518422 Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/d3518422 Branch: refs/heads/master Commit: d3518422766d6cbc9bbe8f2acb02524558a2e401 Parents: a60f751 Author: John D. Ament <[email protected]> Authored: Mon Dec 23 19:17:12 2013 -0500 Committer: John D. Ament <[email protected]> Committed: Mon Dec 23 19:17:12 2013 -0500 ---------------------------------------------------------------------- .../api/literal/ExternalResourceLiteral.java | 40 ++++++++++++++++++++ .../resoureloader/ExternalResourceLiteral.java | 38 ------------------- 2 files changed, 40 insertions(+), 38 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/d3518422/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ExternalResourceLiteral.java ---------------------------------------------------------------------- diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ExternalResourceLiteral.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ExternalResourceLiteral.java new file mode 100644 index 0000000..013966a --- /dev/null +++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ExternalResourceLiteral.java @@ -0,0 +1,40 @@ +/* + * 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.deltaspike.core.api.literal; + +import org.apache.deltaspike.core.api.resoureloader.ExternalResource; + +import javax.enterprise.util.AnnotationLiteral; + +/** + * + */ +public class ExternalResourceLiteral extends AnnotationLiteral<ExternalResource> implements ExternalResource +{ + private String value; + public ExternalResourceLiteral(final String value) + { + this.value = value; + } + @Override + public String value() + { + return this.value; + } +} http://git-wip-us.apache.org/repos/asf/deltaspike/blob/d3518422/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/resoureloader/ExternalResourceLiteral.java ---------------------------------------------------------------------- diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/resoureloader/ExternalResourceLiteral.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/resoureloader/ExternalResourceLiteral.java deleted file mode 100644 index c93797b..0000000 --- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/resoureloader/ExternalResourceLiteral.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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.deltaspike.core.api.resoureloader; - -import javax.enterprise.util.AnnotationLiteral; - -/** - * - */ -public class ExternalResourceLiteral extends AnnotationLiteral<ExternalResource> implements ExternalResource -{ - private String value; - public ExternalResourceLiteral(final String value) - { - this.value = value; - } - @Override - public String value() - { - return this.value; - } -}
