|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.hk2.bootstrap.HK2Populator
public class HK2Populator
| Constructor Summary | |
|---|---|
HK2Populator()
|
|
| Method Summary | |
|---|---|
static void |
populate(ServiceLocator serviceLocator)
This method can be used to populate the service locator with files that have been written out using the DescriptorImpl writeObject method,
looking in the classpath to locate these files |
static java.util.List<ActiveDescriptor> |
populate(ServiceLocator serviceLocator,
DescriptorFileFinder fileFinder,
Binder postProcessorBinder)
This method can be used to populate the service locator with files that have been written out using the DescriptorImpl writeObject method. |
static void |
populateConfig(ServiceLocator serviceLocator)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HK2Populator()
| Method Detail |
|---|
public static java.util.List<ActiveDescriptor> populate(ServiceLocator serviceLocator,
DescriptorFileFinder fileFinder,
Binder postProcessorBinder)
throws java.io.IOException
DescriptorImpl writeObject method.
serviceLocator - The service locator to populate. May not be null.fileFinder - An object that finds files in the environment. May not be null.postProcessors - A post-processor that allows the environment to modify the set
of descriptors that are added to the system. May be null, in which case the descriptors
read in are those that are used to populate the serviceLocator
java.io.IOException - In case of an error
public static void populate(ServiceLocator serviceLocator)
throws java.io.IOException
DescriptorImpl writeObject method,
looking in the classpath to locate these files
serviceLocator - The service locator to populate. May not be null
java.io.IOException - In case of an error
public static void populateConfig(ServiceLocator serviceLocator)
throws BootException
BootException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||