Updated Branches: refs/heads/master c3f89b2fc -> bcf5eda66
DELTASPIKE-455 ViewControllerRefLiteral moved Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/bcf5eda6 Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/bcf5eda6 Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/bcf5eda6 Branch: refs/heads/master Commit: bcf5eda667ba9e90007183d695d03429b0b15703 Parents: c3f89b2 Author: gpetracek <[email protected]> Authored: Mon Dec 2 12:00:38 2013 +0100 Committer: gpetracek <[email protected]> Committed: Mon Dec 2 12:01:00 2013 +0100 ---------------------------------------------------------------------- .../core/api/config/view/ViewRef.java | 2 +- .../literal/ViewControllerRefLiteral.java | 53 -------------------- .../api/literal/ViewControllerRefLiteral.java | 53 ++++++++++++++++++++ 3 files changed, 54 insertions(+), 54 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/bcf5eda6/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/ViewRef.java ---------------------------------------------------------------------- diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/ViewRef.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/ViewRef.java index 6f4ac96..0ced532 100644 --- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/ViewRef.java +++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/ViewRef.java @@ -18,7 +18,7 @@ */ package org.apache.deltaspike.core.api.config.view; -import org.apache.deltaspike.core.api.config.view.controller.literal.ViewControllerRefLiteral; +import org.apache.deltaspike.core.api.literal.ViewControllerRefLiteral; import org.apache.deltaspike.core.api.config.view.metadata.InlineViewMetaData; import org.apache.deltaspike.core.spi.config.view.InlineMetaDataTransformer; import org.apache.deltaspike.core.spi.config.view.TargetViewConfigProvider; http://git-wip-us.apache.org/repos/asf/deltaspike/blob/bcf5eda6/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/controller/literal/ViewControllerRefLiteral.java ---------------------------------------------------------------------- diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/controller/literal/ViewControllerRefLiteral.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/controller/literal/ViewControllerRefLiteral.java deleted file mode 100644 index 3ff0f2b..0000000 --- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/config/view/controller/literal/ViewControllerRefLiteral.java +++ /dev/null @@ -1,53 +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.config.view.controller.literal; - -import org.apache.deltaspike.core.api.config.view.controller.ViewControllerRef; - -import javax.enterprise.util.AnnotationLiteral; - -/** - * Literal for {@link org.apache.deltaspike.core.api.config.view.controller.ViewControllerRef} - */ -public class ViewControllerRefLiteral extends AnnotationLiteral<ViewControllerRef> implements ViewControllerRef -{ - private static final long serialVersionUID = 8582580975876369665L; - - private final Class value; - private final String name; - - public ViewControllerRefLiteral(Class value, String name) - { - this.value = value; - this.name = name; - } - - @Override - public Class value() - { - return this.value; - } - - @Override - public String name() - { - return this.name; - } -} http://git-wip-us.apache.org/repos/asf/deltaspike/blob/bcf5eda6/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ViewControllerRefLiteral.java ---------------------------------------------------------------------- diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ViewControllerRefLiteral.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ViewControllerRefLiteral.java new file mode 100644 index 0000000..0c5cd82 --- /dev/null +++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/api/literal/ViewControllerRefLiteral.java @@ -0,0 +1,53 @@ +/* + * 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.config.view.controller.ViewControllerRef; + +import javax.enterprise.util.AnnotationLiteral; + +/** + * Literal for {@link org.apache.deltaspike.core.api.config.view.controller.ViewControllerRef} + */ +public class ViewControllerRefLiteral extends AnnotationLiteral<ViewControllerRef> implements ViewControllerRef +{ + private static final long serialVersionUID = 8582580975876369665L; + + private final Class value; + private final String name; + + public ViewControllerRefLiteral(Class value, String name) + { + this.value = value; + this.name = name; + } + + @Override + public Class value() + { + return this.value; + } + + @Override + public String name() + { + return this.name; + } +}
