Author: rwesten
Date: Tue Jan 22 08:16:57 2013
New Revision: 1436788
URL: http://svn.apache.org/viewvc?rev=1436788&view=rev
Log:
STANBOL-893 - minor: Added configurationFactory=true annotation to the RESTful
NLP Analysis Engine to allow the configuration of multiple instances
Modified:
stanbol/trunk/enhancement-engines/restful-nlp/src/main/java/org/apache/stanbol/enhancer/engines/restful/nlp/impl/RestfulNlpAnalysisEngine.java
Modified:
stanbol/trunk/enhancement-engines/restful-nlp/src/main/java/org/apache/stanbol/enhancer/engines/restful/nlp/impl/RestfulNlpAnalysisEngine.java
URL:
http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/restful-nlp/src/main/java/org/apache/stanbol/enhancer/engines/restful/nlp/impl/RestfulNlpAnalysisEngine.java?rev=1436788&r1=1436787&r2=1436788&view=diff
==============================================================================
---
stanbol/trunk/enhancement-engines/restful-nlp/src/main/java/org/apache/stanbol/enhancer/engines/restful/nlp/impl/RestfulNlpAnalysisEngine.java
(original)
+++
stanbol/trunk/enhancement-engines/restful-nlp/src/main/java/org/apache/stanbol/enhancer/engines/restful/nlp/impl/RestfulNlpAnalysisEngine.java
Tue Jan 22 08:16:57 2013
@@ -1,19 +1,19 @@
/*
- * Copyright (c) 2012 Sebastian Schaffert
+ * 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
*
- * 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
*
- * 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.
+ * 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.stanbol.enhancer.engines.restful.nlp.impl;
import static org.apache.stanbol.enhancer.nlp.NlpAnnotations.NER_ANNOTATION;
@@ -123,12 +123,14 @@ import org.slf4j.LoggerFactory;
/**
* An enhancement engine that uses a RESTful service for NLP processing of
* the pain text content part of processed {@link ContentItem}s.<p>
- * The RESTful API of the remote service is standardized by STANBOL-TODO <p>
+ * The RESTful API of the remote service is standardised by
+ * <a href="https://issues.apache.org/jira/browse/STANBOL-892">STANBOL-892</a>
<p>
*
* @author Rupert Westenthaler
*/
-@Component(immediate = true, metatype = true, policy =
ConfigurationPolicy.REQUIRE)
+@Component(immediate = true, metatype = true,
+ policy = ConfigurationPolicy.REQUIRE, configurationFactory=true)
@Service
@Properties(value={
@Property(name= EnhancementEngine.PROPERTY_NAME,value="changeme"),