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 ServiceLocatorcreate(java.lang.String name, ServiceLocator parent)Creates the ServiceLocator that will be used to generate the ServiceLocatorsprivate ServiceLocatorImplinitialize(java.lang.String name, ServiceLocator parent)java.lang.StringtoString()
-
-
-
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:ServiceLocatorGeneratorCreates the ServiceLocator that will be used to generate the ServiceLocators- Specified by:
createin 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:
toStringin classjava.lang.Object
-
-