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
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String name, ServiceLocator parent) Creates the ServiceLocator that will be used to generate the ServiceLocators
-
Method Details
-
create
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
-