@@ -0,0 +1,829 @@
+package org.vasttrafik.wso2.carbon.common.api.utils;%0A%0Aimport org.vasttrafik.wso2.carbon.identity.api.utils.ClientUtils;%0Aimport org.wso2.carbon.registry.ws.stub.WSRegistryServiceStub;%0A%0Aimport javax.activation.DataHandler;%0Aimport javax.ws.rs.NotFoundException;%0A%0A/**%0A * @author Daniel Oskarsson %3Cdaniel.oskarsson@gmail.com%3E%0A */%0Apublic final class RegistryUtils %7B%0A%0A    private static final WSRegistryServiceStub registryStub = ClientUtils.getWSRegistryServiceStub();%0A%0A    public static Object getContent(final String path) %7B%0A        try %7B%0A            ClientUtils.authenticateIfNeeded(registryStub._getServiceClient());%0A            final DataHandler datahandler = registryStub.getContent(path);%0A            return datahandler.getContent();%0A        %7D catch (Exception e) %7B%0A            throw new NotFoundException();%0A        %7D%0A    %7D%0A%0A%7D%0A

Add RegistryUtils