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 java.lang.Object implements ServiceLocatorGenerator
-
-
Constructor Summary
Constructors Constructor Description ServiceLocatorGeneratorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceLocator
create(java.lang.String name, ServiceLocator parent)
Creates the ServiceLocator that will be used to generate the ServiceLocatorsprivate ServiceLocatorImpl
initialize(java.lang.String name, ServiceLocator parent)
java.lang.String
toString()
-
-
-
Method Detail
-
initialize
private ServiceLocatorImpl initialize(java.lang.String name, ServiceLocator parent)
-
create
public ServiceLocator create(java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-