Examples of GadgetZipUploadHandler


Examples of org.wso2.carbon.dashboard.mgt.gadgetrepo.handlers.GadgetZipUploadHandler

  protected void activate(ComponentContext context) {
    try {
            log.debug("Gadget Repository Backend Component bundle is activated");
            GadgetRepoContext.getRegistryService().getConfigSystemRegistry().getRegistryContext().getHandlerManager().
                    addHandler(null, new MediaTypeMatcher(DashboardConstants.GADGET_MEDIA_TYPE),
                               new GadgetZipUploadHandler());

    } catch (Exception e) {
      log.debug("Failed to activate Dashboard Backend Component bundle ");
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.