Package org.glassfish.hk2.extension
Interface ServiceLocatorGenerator
-
- All Known Implementing Classes:
ServiceLocatorGeneratorImpl
public interface ServiceLocatorGenerator
An implementation of this class can be placed in META-INF/services in order to customize the creation of the ServiceLocator- Author:
- jwells
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceLocator
create(String name, ServiceLocator parent)
Creates the ServiceLocator that will be used to generate the ServiceLocators
-
-
-
Method Detail
-
create
ServiceLocator create(String name, ServiceLocator parent)
Creates the ServiceLocator that will be used to generate the ServiceLocators- Parameters:
name
- The name of the ServiceLocator to createparent
- The parent of the ServiceLocator (can be null)- Returns:
- The created ServiceLocator
-
-