nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marka...@apache.org
Subject [5/5] incubator-nifi git commit: NIFI-4: Use @OnEnabled instead of @OnConfigured in ssl context service
Date Tue, 20 Jan 2015 18:03:44 GMT
NIFI-4: Use @OnEnabled instead of @OnConfigured in ssl context service


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/1a402d46
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/1a402d46
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/1a402d46

Branch: refs/heads/annotations
Commit: 1a402d468a42286fef4276d61de999f0862dc6a3
Parents: 1b1f45f
Author: Mark Payne <markap14@hotmail.com>
Authored: Tue Jan 20 13:03:21 2015 -0500
Committer: Mark Payne <markap14@hotmail.com>
Committed: Tue Jan 20 13:03:21 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/nifi/ssl/StandardSSLContextService.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/1a402d46/nifi/nar-bundles/standard-services/ssl-context-bundle/ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java
----------------------------------------------------------------------
diff --git a/nifi/nar-bundles/standard-services/ssl-context-bundle/ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java
b/nifi/nar-bundles/standard-services/ssl-context-bundle/ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java
index d7aae16..68f83d4 100644
--- a/nifi/nar-bundles/standard-services/ssl-context-bundle/ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java
+++ b/nifi/nar-bundles/standard-services/ssl-context-bundle/ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java
@@ -26,13 +26,13 @@ import java.util.Map;
 
 import javax.net.ssl.SSLContext;
 
+import org.apache.nifi.annotation.lifecycle.OnEnabled;
 import org.apache.nifi.components.PropertyDescriptor;
 import org.apache.nifi.components.ValidationContext;
 import org.apache.nifi.components.ValidationResult;
 import org.apache.nifi.components.Validator;
 import org.apache.nifi.controller.AbstractControllerService;
 import org.apache.nifi.controller.ConfigurationContext;
-import org.apache.nifi.controller.annotation.OnConfigured;
 import org.apache.nifi.processor.exception.ProcessException;
 import org.apache.nifi.processor.util.StandardValidators;
 import org.apache.nifi.reporting.InitializationException;
@@ -104,7 +104,7 @@ public class StandardSSLContextService extends AbstractControllerService
impleme
     }
     private ConfigurationContext configContext;
 
-    @OnConfigured
+    @OnEnabled
     public void onConfigured(final ConfigurationContext context) throws InitializationException
{
         configContext = context;
 


Mime
View raw message