Top Description Methods
org.glassfish.hk2.extension

public Interface ServiceLocatorGenerator

Imports
org.glassfish.hk2.api.ServiceLocator

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

Modifier and TypeMethod and Description
public ServiceLocator

Returns:

The created ServiceLocator
create
(String
The name of the ServiceLocator to create
name
,
ServiceLocator
The parent of the ServiceLocator (can be null)
parent
)

Creates the ServiceLocator that will be used to generate the ServiceLocators

Method Detail

createback to summary
public ServiceLocator create(String name, ServiceLocator parent)

Creates the ServiceLocator that will be used to generate the ServiceLocators

Parameters
name:String

The name of the ServiceLocator to create

parent:ServiceLocator

The parent of the ServiceLocator (can be null)

Returns:ServiceLocator

The created ServiceLocator