Package org.jvnet.hk2.external.generator
Class ServiceLocatorGeneratorImpl
- java.lang.Object
-
- org.jvnet.hk2.external.generator.ServiceLocatorGeneratorImpl
-
- All Implemented Interfaces:
ServiceLocatorGenerator
public class ServiceLocatorGeneratorImpl extends Object implements ServiceLocatorGenerator
- Author:
- jwells
-
-
Constructor Summary
Constructors Constructor Description ServiceLocatorGeneratorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceLocator
create(String name, ServiceLocator parent)
Creates the ServiceLocator that will be used to generate the ServiceLocatorsString
toString()
-
-
-
Method Detail
-
create
public ServiceLocator create(String name, ServiceLocator parent)
Description copied from interface:ServiceLocatorGenerator
Creates the ServiceLocator that will be used to generate the ServiceLocators- Specified by:
create
in interfaceServiceLocatorGenerator
- Parameters:
name
- The name of the ServiceLocator to createparent
- The parent of the ServiceLocator (can be null)- Returns:
- The created ServiceLocator
-
-