Print warn message when Management Api starts
package org.wso2.carbon.micro.integrator.management.apis;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.wso2.carbon.inbound.endpoint.internal.http.api.APIResource;
import org.wso2.carbon.inbound.endpoint.internal.http.api.InternalAPI;
@@ -35,6 +37,12 @@ public class ManagementInternalAPI implements InternalAPI {
private String name;
+ private static Log log = LogFactory.getLog(ManagementInternalAPI.class);
+
+ public ManagementInternalAPI(){
+ log.warn("Management Api has been enabled");
+ }
+
public APIResource[] getResources() {
APIResource[] resources = new APIResource[7];
