public static void install(Injector injector) {
    // This binding is provided by JerseyGuiceModule
    ServiceLocator locator = injector.getInstance(ServiceLocator.class);
    
    GuiceServiceLocatorGenerator generator = getOrCreateGuiceServiceLocatorGenerator();
    generator.add(locator);
  }
public static void install(Injector injector) {
    
    ServiceLocator locator = injector.getInstance(ServiceLocator.class);
    
    GuiceServiceLocatorGenerator generator = getOrCreateGuiceServiceLocatorGenerator();
    generator.add(locator);
  }
public static void install ( Injector injector ) { // This binding is provided by JerseyGuiceModule ServiceLocator locator = injector . getInstance ( ServiceLocator . class ) ; GuiceServiceLocatorGenerator generator = getOrCreateGuiceServiceLocatorGenerator ( ) ; generator . add ( locator ) ; }
Installs the given {@link Injector}.

@see JerseyGuiceModule
Installs the given { @link Injector } .