|
|
@ -26,11 +26,13 @@ import org.wso2.carbon.apimgt.impl.APIManagerConfigurationService;
|
|
|
|
import org.wso2.carbon.apimgt.webapp.publisher.APIPublisherService;
|
|
|
|
import org.wso2.carbon.apimgt.webapp.publisher.APIPublisherService;
|
|
|
|
import org.wso2.carbon.apimgt.webapp.publisher.APIPublisherServiceImpl;
|
|
|
|
import org.wso2.carbon.apimgt.webapp.publisher.APIPublisherServiceImpl;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @scr.component name="org.wso2.carbon.apimgt.webapp.publisher" immediate="true"
|
|
|
|
|
|
|
|
*/
|
|
|
|
public class APIPublisherServiceComponent {
|
|
|
|
public class APIPublisherServiceComponent {
|
|
|
|
|
|
|
|
|
|
|
|
private static Log log = LogFactory.getLog(APIPublisherServiceComponent.class);
|
|
|
|
private static Log log = LogFactory.getLog(APIPublisherServiceComponent.class);
|
|
|
|
|
|
|
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
|
|
|
|
protected void activate(ComponentContext componentContext) {
|
|
|
|
protected void activate(ComponentContext componentContext) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
@ -48,7 +50,6 @@ public class APIPublisherServiceComponent {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
|
|
|
|
protected void deactivate(ComponentContext componentContext) {
|
|
|
|
protected void deactivate(ComponentContext componentContext) {
|
|
|
|
//do nothing
|
|
|
|
//do nothing
|
|
|
|
}
|
|
|
|
}
|
|
|
|