com.google.gwt.user.client.rpc.ServiceDefTarget Java Examples

The following examples show how to use com.google.gwt.user.client.rpc.ServiceDefTarget. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Mvp4gGenerator.java    From mvp4g with Apache License 2.0 6 votes vote down vote up
String[] getClassesToImport() {
  return new String[] { com.mvp4g.client.history.PlaceService.class.getName(),
                        GWT.class.getName(),
                        com.google.gwt.user.client.History.class.getName(),
                        ServiceDefTarget.class.getName(),
                        PresenterInterface.class.getName(),
                        EventBus.class.getName(),
                        Mvp4gException.class.getName(),
                        HistoryConverter.class.getName(),
                        Mvp4gEventPasser.class.getName(),
                        Mvp4gModule.class.getName(),
                        GinModules.class.getName(),
                        Ginjector.class.getName(),
                        BaseEventBus.class.getName(),
                        EventFilter.class.getName(),
                        EventHandlerInterface.class.getName(),
                        List.class.getName(),
                        NavigationEventCommand.class.getName(),
                        NavigationConfirmationInterface.class.getName(),
                        RunAsyncCallback.class.getName(),
                        Mvp4gRunAsync.class.getName(),
                        Command.class.getName(),
                        HistoryProxyProvider.class.getName(),
                        DefaultHistoryProxy.class.getName() };
}
 
Example #2
Source File: FormService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static FormServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(FormService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #3
Source File: WorkflowService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static WorkflowServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(WorkflowService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #4
Source File: SearchService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static SearchServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(SearchService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #5
Source File: TwoFactorsAuthenticationService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static TwoFactorsAuthenticationServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(TwoFactorsAuthenticationService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #6
Source File: AuditService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static AuditServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(AuditService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #7
Source File: SearchEngineService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static SearchEngineServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(SearchEngineService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #8
Source File: AutomationService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static AutomationServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(AutomationService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #9
Source File: ZohoService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static ZohoServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(ZohoService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #10
Source File: BarcodeService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static BarcodeServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(BarcodeService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #11
Source File: GDriveService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static GDriveServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(GDriveService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #12
Source File: ContactService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static ContactServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(ContactService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #13
Source File: TagService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static TagServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(TagService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #14
Source File: TemplateService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static TemplateServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(TemplateService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #15
Source File: SystemService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static SystemServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(SystemService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #16
Source File: ImportFolderService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static ImportFolderServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(ImportFolderService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #17
Source File: SchemeService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static SchemeServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(SchemeService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #18
Source File: SignService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static SignServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(SignService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #19
Source File: InfoService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static InfoServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(InfoService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #20
Source File: MapTest.java    From FreeBuilder with Apache License 2.0 5 votes vote down vote up
private MapTestServiceAsync getServiceAsync() {
    if (customFieldSerializerTestService == null) {
        customFieldSerializerTestService =
                (MapTestServiceAsync) GWT.create(MapTestService.class);
        ((ServiceDefTarget) customFieldSerializerTestService)
                .setServiceEntryPoint(GWT.getModuleBaseURL() + "map");
    }
    return customFieldSerializerTestService;
}
 
Example #21
Source File: NestedListTest.java    From FreeBuilder with Apache License 2.0 5 votes vote down vote up
private NestedListTestServiceAsync getServiceAsync() {
    if (customFieldSerializerTestService == null) {
        customFieldSerializerTestService =
                (NestedListTestServiceAsync) GWT.create(NestedListTestService.class);
        ((ServiceDefTarget) customFieldSerializerTestService)
                .setServiceEntryPoint(GWT.getModuleBaseURL() + "nested-list");
    }
    return customFieldSerializerTestService;
}
 
Example #22
Source File: StringListTest.java    From FreeBuilder with Apache License 2.0 5 votes vote down vote up
private StringListTestServiceAsync getServiceAsync() {
    if (customFieldSerializerTestService == null) {
        customFieldSerializerTestService =
                (StringListTestServiceAsync) GWT.create(StringListTestService.class);
        ((ServiceDefTarget) customFieldSerializerTestService)
                .setServiceEntryPoint(GWT.getModuleBaseURL() + "string-list");
    }
    return customFieldSerializerTestService;
}
 
Example #23
Source File: OptionalTest.java    From FreeBuilder with Apache License 2.0 5 votes vote down vote up
private OptionalTestServiceAsync getServiceAsync() {
    if (customFieldSerializerTestService == null) {
        customFieldSerializerTestService =
                (OptionalTestServiceAsync) GWT.create(OptionalTestService.class);
        ((ServiceDefTarget) customFieldSerializerTestService)
                .setServiceEntryPoint(GWT.getModuleBaseURL() + "optional");
    }
    return customFieldSerializerTestService;
}
 
Example #24
Source File: ConfigurationRemote.java    From geofence with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Gets the instance.
 *
 * @return the instance
 */
public static ConfigurationRemoteAsync getInstance()
{
    if (instance == null)
    {
        instance = (ConfigurationRemoteAsync) GWT.create(ConfigurationRemote.class);

        ServiceDefTarget target = (ServiceDefTarget) instance;
        target.setServiceEntryPoint(GWT.getModuleBaseURL() + "ConfigurationRemote");
    }

    return instance;
}
 
Example #25
Source File: MessageService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static MessageServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(MessageService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #26
Source File: ImpexService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static ImpexServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(ImpexService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #27
Source File: ReportService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static ReportServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(ReportService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #28
Source File: SyndicationService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static SyndicationServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(SyndicationService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #29
Source File: DashletService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static DashletServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(DashletService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}
 
Example #30
Source File: EmailAccountService.java    From document-management-software with GNU Lesser General Public License v3.0 5 votes vote down vote up
public static EmailAccountServiceAsync get() {
	if (instance == null) {
		instance = GWT.create(EmailAccountService.class);
		((ServiceDefTarget) instance).setRpcRequestBuilder(new LDRpcRequestBuilder());
	}
	return instance;
}