Top Description Fields Constructors Methods
org.glassfish.hk2.bootstrap.impl

public Class Hk2LoaderPopulatorPostProcessor

extends Object
implements PopulatorPostProcessor
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.api.PopulatorPostProcessor
Imports
org.glassfish.hk2.api.HK2Loader, .MultiException, .PopulatorPostProcessor, .ServiceLocator, org.glassfish.hk2.utilities.DescriptorImpl

A Simple PopulatorPostProcessor that uses the given classloader to override default HK2Loader behavior
Author
mtaube

Field Summary

Modifier and TypeField and Description
private final HK2Loader

Constructor Summary

AccessConstructor and Description
public
Hk2LoaderPopulatorPostProcessor(ClassLoader
The classloader to use, may not be null
classLoader
)

Creates the post-processor to use the given classloader

public

Method Summary

Modifier and TypeMethod and Description
public DescriptorImpl
process(ServiceLocator serviceLocator, DescriptorImpl descriptorImpl)

Implements org.glassfish.hk2.api.PopulatorPostProcessor.process.

Uses the given classloader to load the class from the descriptor

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hk2Loaderback to summary
private final HK2Loader hk2Loader

Constructor Detail

Hk2LoaderPopulatorPostProcessorback to summary
public Hk2LoaderPopulatorPostProcessor(ClassLoader classLoader)

Creates the post-processor to use the given classloader

Parameters
classLoader:ClassLoader

The classloader to use, may not be null

Hk2LoaderPopulatorPostProcessorback to summary
public Hk2LoaderPopulatorPostProcessor()

Method Detail

processback to summary
public DescriptorImpl process(ServiceLocator serviceLocator, DescriptorImpl descriptorImpl)

Implements org.glassfish.hk2.api.PopulatorPostProcessor.process.

Uses the given classloader to load the class from the descriptor

Annotations
@Override