/** * Get the singleton {@link ServerGwtBridge} instance, creating it if * necessary. The instance will be registered via * {@link GWT#setBridge(GWTBridge)} and will have the default instantiators * registered on it. * * @return the singleton {@link ServerGwtBridge} instance */ public static ServerGwtBridge getInstance() { synchronized (instanceLock) { if (instance == null) { instance = new ServerGwtBridge(); GWT.setBridge(instance); } return instance; } }
/** * Get the singleton {@link ServerGwtBridge} instance, creating it if * necessary. The instance will be registered via * {@link GWT#setBridge(GWTBridge)} and will have the default instantiators * registered on it. * * @return the singleton {@link ServerGwtBridge} instance */ public static ServerGwtBridge getInstance() { synchronized (instanceLock) { if (instance == null) { instance = new ServerGwtBridge(); GWT.setBridge(instance); } return instance; } }
/** * Get the singleton {@link ServerGwtBridge} instance, creating it if * necessary. The instance will be registered via * {@link GWT#setBridge(GWTBridge)} and will have the default instantiators * registered on it. * * @return the singleton {@link ServerGwtBridge} instance */ public static ServerGwtBridge getInstance() { synchronized (instanceLock) { if (instance == null) { instance = new ServerGwtBridge(); GWT.setBridge(instance); } return instance; } }