public static I_CmsGalleryServiceAsync createGalleryService() {

        I_CmsGalleryServiceAsync service;
        service = GWT.create(I_CmsGalleryService.class);
        String serviceUrl = CmsCoreProvider.get().link("org.opencms.ade.galleries.CmsGalleryService.gwt");
        ((ServiceDefTarget)service).setServiceEntryPoint(serviceUrl);
        return service;
    }
public static I_CmsGalleryServiceAsync createGalleryService ( ) { I_CmsGalleryServiceAsync service ; service = GWT . create ( I_CmsGalleryService . class ) ; String serviceUrl = CmsCoreProvider . get ( ) . link ( "org.opencms.ade.galleries.CmsGalleryService.gwt" ) ; ( ( ServiceDefTarget ) service ) . setServiceEntryPoint ( serviceUrl ) ; return service ; }
Creates a gallery service instance.<p>

@return the gallery service instance