Added component annotation git-svn-id: https://svn.apache.org/repos/asf/rave/trunk@1529994 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/rave/repo Commit: http://git-wip-us.apache.org/repos/asf/rave/commit/8285df32 Tree: http://git-wip-us.apache.org/repos/asf/rave/tree/8285df32 Diff: http://git-wip-us.apache.org/repos/asf/rave/diff/8285df32 Branch: refs/heads/angular Commit: 8285df3294918c6b909949d71ca4a4aef39d75b5 Parents: f13f14b Author: Matthew B. Franklin <[email protected]> Authored: Mon Oct 7 16:37:04 2013 +0000 Committer: Matthew B. Franklin <[email protected]> Committed: Mon Oct 7 16:37:04 2013 +0000 ---------------------------------------------------------------------- .../impl/MongoPageTemplateTemplate.java | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/rave/blob/8285df32/rave-components/rave-mongodb/src/main/java/org/apache/rave/portal/repository/impl/MongoPageTemplateTemplate.java ---------------------------------------------------------------------- diff --git a/rave-components/rave-mongodb/src/main/java/org/apache/rave/portal/repository/impl/MongoPageTemplateTemplate.java b/rave-components/rave-mongodb/src/main/java/org/apache/rave/portal/repository/impl/MongoPageTemplateTemplate.java index 0919143..a8ae375 100644 --- a/rave-components/rave-mongodb/src/main/java/org/apache/rave/portal/repository/impl/MongoPageTemplateTemplate.java +++ b/rave-components/rave-mongodb/src/main/java/org/apache/rave/portal/repository/impl/MongoPageTemplateTemplate.java @@ -1,14 +1,34 @@ +/* + * 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.rave.portal.repository.impl; import org.apache.rave.model.PageTemplate; import org.apache.rave.portal.model.MongoDbPageTemplate; import org.apache.rave.portal.repository.MongoPageTemplateOperations; +import org.springframework.stereotype.Component; import static org.apache.rave.portal.repository.util.CollectionNames.PAGE_TEMPLATE_COLLECTION; /** * MongoModelTemplate for the PageTemplate class */ +@Component public class MongoPageTemplateTemplate extends MongoModelTemplate<PageTemplate, MongoDbPageTemplate> implements MongoPageTemplateOperations { public MongoPageTemplateTemplate() {
