Uses of Interface
org.glassfish.hk2.api.ServiceLocator

Packages that use ServiceLocator
com.sun.enterprise.module   
com.sun.enterprise.module.bootstrap   
com.sun.enterprise.module.common_impl   
com.sun.enterprise.module.impl   
com.sun.enterprise.module.single   
com.sun.hk2.component   
org.glassfish.examples.ctm   
org.glassfish.hk2.api   
org.glassfish.hk2.bootstrap   
org.glassfish.hk2.bootstrap.impl   
org.glassfish.hk2.deprecated.utilities   
org.glassfish.hk2.extension   
org.glassfish.hk2.inhabitants   
org.glassfish.hk2.internal   
org.glassfish.hk2.utilities   
org.jvnet.hk2.component   
org.jvnet.hk2.config   
org.jvnet.hk2.deprecated.internal   
org.jvnet.hk2.external.generator   
org.jvnet.hk2.internal   
org.jvnet.hk2.osgiadapter   
org.jvnet.hk2.testing.junit   
 

Uses of ServiceLocator in com.sun.enterprise.module
 

Methods in com.sun.enterprise.module that return ServiceLocator
 ServiceLocator ModulesRegistry.createServiceLocator(String name)
          Creates a ServiceLocator from all the modules in this registry Cal;ling this method has the same effect of calling ModulesRegistry.newServiceLocator() followed by ModulesRegistry.populateServiceLocator(String, ServiceLocator).
 ServiceLocator ModulesRegistry.newServiceLocator()
          Creates an uninitialized ServiceLocator
 

Methods in com.sun.enterprise.module with parameters of type ServiceLocator
 void ModulesRegistry.populateServiceLocator(String name, ServiceLocator h)
          Populates a ServiceLocator from all the modules in this registry.
 

Uses of ServiceLocator in com.sun.enterprise.module.bootstrap
 

Methods in com.sun.enterprise.module.bootstrap that return ServiceLocator
 ServiceLocator Main.createServiceLocator(ModulesRegistry mr, StartupContext context, List<? extends PopulatorPostProcessor> postProcessors, DescriptorFileFinder descriptorFileFinder)
           
 ServiceLocator Main.getServiceLocator()
           
 

Methods in com.sun.enterprise.module.bootstrap with parameters of type ServiceLocator
 ModuleStartup Main.findStartupService(ModulesRegistry registry, ServiceLocator serviceLocator, String mainModuleName, StartupContext context)
          Return the ModuleStartup service configured to be used to start the system.
 void ContextDuplicatePostProcessor.setServiceLocator(ServiceLocator serviceLocator)
           
 

Uses of ServiceLocator in com.sun.enterprise.module.common_impl
 

Methods in com.sun.enterprise.module.common_impl that return ServiceLocator
 ServiceLocator AbstractModulesRegistryImpl.createServiceLocator(String name)
           
 ServiceLocator AbstractModulesRegistryImpl.newServiceLocator()
          Creates an uninitialized Habitat
 ServiceLocator AbstractModulesRegistryImpl.newServiceLocator(ServiceLocator parent, String name)
          Create a new Habitat optionally providing a parent Services as well as a name.
 

Methods in com.sun.enterprise.module.common_impl with parameters of type ServiceLocator
 InhabitantsParser AbstractModulesRegistryImpl.createInhabitantsParser(ServiceLocator h)
           
protected  void AbstractModulesRegistryImpl.initializeServiceLocator(ServiceLocator serviceLocator)
           
 ServiceLocator AbstractModulesRegistryImpl.newServiceLocator(ServiceLocator parent, String name)
          Create a new Habitat optionally providing a parent Services as well as a name.
protected abstract  void AbstractModulesRegistryImpl.parseInhabitants(Module module, String name, ServiceLocator serviceLocator)
           
protected  void AbstractModulesRegistryImpl.populateConfig(ServiceLocator serviceLocator)
           
 void AbstractModulesRegistryImpl.populateServiceLocator(String name, ServiceLocator serviceLocator)
          Creates a ServiceLocator from all the modules in this registry
 

Uses of ServiceLocator in com.sun.enterprise.module.impl
 

Methods in com.sun.enterprise.module.impl with parameters of type ServiceLocator
protected  void ModulesRegistryImpl.parseInhabitants(Module module, String name, ServiceLocator serviceLocator)
           
 

Uses of ServiceLocator in com.sun.enterprise.module.single
 

Methods in com.sun.enterprise.module.single that return ServiceLocator
 ServiceLocator StaticModulesRegistry.createServiceLocator(String name)
           
 

Methods in com.sun.enterprise.module.single with parameters of type ServiceLocator
protected  void ClassPathBasedModulesRegistry.parseInhabitants(Module module, String name, ServiceLocator serviceLocator)
           
protected  void SingleModulesRegistry.parseInhabitants(Module module, String name, ServiceLocator serviceLocator)
           
protected  void StaticModulesRegistry.populateConfig(ServiceLocator serviceLocator)
           
 

Uses of ServiceLocator in com.sun.hk2.component
 

Fields in com.sun.hk2.component declared as ServiceLocator
 ServiceLocator InhabitantsParser.serviceLocator
          Deprecated.  
protected  ServiceLocator AbstractCreatorImpl.serviceLocator
          Deprecated.  
 

Methods in com.sun.hk2.component that return ServiceLocator
 ServiceLocator EventPublishingInhabitant.getServiceLocator()
          Deprecated.  
 

Methods in com.sun.hk2.component with parameters of type ServiceLocator
static
<T> Inhabitant<T>
Inhabitants.create(Class<T> c, ServiceLocator habitat, Map<String,List<String>> metadata)
          Deprecated. Creates a Inhabitant by looking at annotations of the given type.
static Inhabitant<?> Inhabitants.createInhabitant(ServiceLocator serviceLocator, Holder<ClassLoader> classLoader, String typeName, Map<String,List<String>> metadata, Inhabitant<?> lead, Set<String> indicies)
          Deprecated.  
static Inhabitant<?> Inhabitants.createInhabitant(ServiceLocator serviceLocator, Iterator<InhabitantProviderInterceptor> interceptors, Holder<ClassLoader> classLoader, String typeName, Map<String,List<String>> metadata, Inhabitant<?> lead, InhabitantStore store, Set<String> indicies)
          Deprecated.  
protected
<V> Collection<V>
InjectInjectionResolver.getAllByContract(Inhabitant<?> onBehalfOf, ServiceLocator habitat, Class<V> ct)
          Deprecated.  
protected
<V> Collection<V>
InjectInjectionResolver.getAllByType(Inhabitant<?> onBehalfOf, ServiceLocator habitat, Class<V> ct)
          Deprecated.  
protected
<V> V
InjectInjectionResolver.getArrayInjectValue(ServiceLocator habitat, Object component, Inhabitant<?> onBehalfOf, AnnotatedElement target, Type genericType, Class<V> type)
          Deprecated.  
protected
<V> V
InjectInjectionResolver.getHolderInjectValue(ServiceLocator habitat, Object component, Inhabitant<?> onBehalfOf, AnnotatedElement target, Type genericType, Class<V> type, javax.inject.Inject inject)
          Deprecated.  
protected  InjectionResolver[] AbstractCreatorImpl.getInjectionResolvers(T t, ServiceLocator h)
          Deprecated. TODO: JRW This is another one that is going to need some thought
protected
<V> Provider<V>
InjectInjectionResolver.getProviderByContract(ServiceLocator habitat, Inhabitant<?> onBehalfOf, AnnotatedElement target, Type genericType, javax.inject.Inject inject)
          Deprecated.  
protected  void AbstractCreatorImpl.inject(ServiceLocator habitat, T t, Inhabitant<?> onBehalfOf)
          Deprecated. Performs resource injection on the given instance from the given habitat.
static
<T> Inhabitant<T>
Inhabitants.wrapByScope(Class<T> c, Creator<T> creator, ServiceLocator habitat)
          Deprecated. Creates a Inhabitant by wrapping Creator to handle scoping right.
static
<T> Inhabitant<T>
Inhabitants.wrapByScope(Creator<T> creator, ServiceLocator habitat, Class<? extends Scope> scopeClass)
          Deprecated.  
 

Constructors in com.sun.hk2.component with parameters of type ServiceLocator
AbstractCreatorImpl(Class<? extends T> type, ServiceLocator serviceLocator, Map<String,List<String>> metadata)
          Deprecated.  
ConstructorCreator(Class<? extends T> type, ServiceLocator habitat, Map<String,List<String>> metadata)
          Deprecated.  
EventPublishingInhabitant(ServiceLocator serviceLocator, Descriptor descriptor)
          Deprecated.  
EventPublishingInhabitant(ServiceLocator serviceLocator, Inhabitant<?> delegate)
          Deprecated.  
EventPublishingInhabitant(ServiceLocator serviceLocator, Inhabitant<?> delegate, InhabitantListener listener)
          Deprecated.  
InhabitantsParser(ServiceLocator serviceLocator)
          Deprecated.  
InjectInjectionResolver(ServiceLocator habitat)
          Deprecated.  
LazyInhabitant(ServiceLocator serviceLocator, HK2Loader hk2CL, String typeName, Map<String,List<String>> metadata)
          Deprecated.  
LazyInhabitant(ServiceLocator serviceLocator, HK2Loader cl, String typeName, Map<String,List<String>> metadata, Inhabitant<?> lead)
          Deprecated.  
 

Uses of ServiceLocator in org.glassfish.examples.ctm
 

Methods in org.glassfish.examples.ctm that return ServiceLocator
 ServiceLocator TenantLocatorGenerator.generateLocatorPerTenant(String tenantName)
           
 

Uses of ServiceLocator in org.glassfish.hk2.api
 

Methods in org.glassfish.hk2.api that return ServiceLocator
abstract  ServiceLocator ServiceLocatorFactory.create(String name)
          Creates (or finds) a ServiceLocator.
abstract  ServiceLocator ServiceLocatorFactory.create(String name, ServiceLocator parent)
          Creates or finds a ServiceLocator.
abstract  ServiceLocator ServiceLocatorFactory.create(String name, ServiceLocator parent, ServiceLocatorGenerator generator)
          Creates or finds a ServiceLocator.
abstract  ServiceLocator ServiceLocatorFactory.find(String name)
          Finds the ServiceLocator with this name
 

Methods in org.glassfish.hk2.api with parameters of type ServiceLocator
abstract  ServiceLocator ServiceLocatorFactory.create(String name, ServiceLocator parent)
          Creates or finds a ServiceLocator.
abstract  ServiceLocator ServiceLocatorFactory.create(String name, ServiceLocator parent, ServiceLocatorGenerator generator)
          Creates or finds a ServiceLocator.
abstract  void ServiceLocatorFactory.destroy(ServiceLocator locator)
          Removes the given ServiceLocator
 

Uses of ServiceLocator in org.glassfish.hk2.bootstrap
 

Methods in org.glassfish.hk2.bootstrap with parameters of type ServiceLocator
static void HK2Populator.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 void HK2Populator.populate(ServiceLocator serviceLocator, DescriptorFileFinder fileFinder, PopulatorPostProcessor... postProcessors)
          This method can be used to populate the service locator with files that have been written out using the DescriptorImpl writeObject method.
 void ConfigPopulator.populateConfig(ServiceLocator serviceLocator)
           
static void HK2Populator.populateConfig(ServiceLocator serviceLocator)
           
 void PopulatorPostProcessor.setServiceLocator(ServiceLocator serviceLocator)
           
 

Uses of ServiceLocator in org.glassfish.hk2.bootstrap.impl
 

Methods in org.glassfish.hk2.bootstrap.impl with parameters of type ServiceLocator
 void Hk2LoaderPopulatorPostProcessor.setServiceLocator(ServiceLocator serviceLocator)
           
 

Uses of ServiceLocator in org.glassfish.hk2.deprecated.utilities
 

Methods in org.glassfish.hk2.deprecated.utilities with parameters of type ServiceLocator
static ActiveDescriptor<?> Utilities.add(ServiceLocator locator, Descriptor descriptor)
          Deprecated. Bind the given descriptor to the given service locator.
static
<T> void
Utilities.addIndex(ServiceLocator locator, ActiveDescriptor<T> descriptor, String contract, String name)
          Deprecated. Add an alternate index to look up the given descriptor.
static List<? extends Descriptor> Utilities.getAllDescriptorsByContract(ServiceLocator locator, Class type)
          Deprecated. Get all of the descriptors for the given contract type.
static Descriptor Utilities.getDescriptor(ServiceLocator locator, Class type, String name)
          Deprecated. Get the best descriptor for the given class and name.
static
<T> Inhabitant<T>
Utilities.getInhabitantFromActiveDescriptor(ActiveDescriptor<T> fromMe, ServiceLocator locator)
          Deprecated. Creates an Inhabitant from an ActiveDescriptor.
<T> T
Utilities.getService(ServiceLocator locator, Descriptor descriptor)
          Deprecated. Get the service from the given service locator for the given descriptor.
static boolean Utilities.remove(ServiceLocator locator, Filter filter)
          Deprecated. Unbind the descriptor(s) found by the given filter from the given service locator.
 

Uses of ServiceLocator in org.glassfish.hk2.extension
 

Methods in org.glassfish.hk2.extension that return ServiceLocator
 ServiceLocator ServiceLocatorGenerator.create(String name, ServiceLocator parent)
          Creates the ServiceLocator that will be used to generate the ServiceLocators
 

Methods in org.glassfish.hk2.extension with parameters of type ServiceLocator
 ServiceLocator ServiceLocatorGenerator.create(String name, ServiceLocator parent)
          Creates the ServiceLocator that will be used to generate the ServiceLocators
 

Uses of ServiceLocator in org.glassfish.hk2.inhabitants
 

Fields in org.glassfish.hk2.inhabitants declared as ServiceLocator
 ServiceLocator InhabitantsParser.serviceLocator
           
 

Methods in org.glassfish.hk2.inhabitants with parameters of type ServiceLocator
 InhabitantsParser InhabitantsParserFactory.createInhabitantsParser(ServiceLocator habitat)
           
 

Constructors in org.glassfish.hk2.inhabitants with parameters of type ServiceLocator
InhabitantsParser(ServiceLocator serviceLocator)
           
 

Uses of ServiceLocator in org.glassfish.hk2.internal
 

Methods in org.glassfish.hk2.internal that return ServiceLocator
 ServiceLocator ServiceLocatorFactoryImpl.create(String name)
           
 ServiceLocator ServiceLocatorFactoryImpl.create(String name, ServiceLocator parent)
           
 ServiceLocator ServiceLocatorFactoryImpl.create(String name, ServiceLocator parent, ServiceLocatorGenerator generator)
           
 ServiceLocator ServiceLocatorFactoryImpl.find(String name)
           
 

Methods in org.glassfish.hk2.internal with parameters of type ServiceLocator
 ServiceLocator ServiceLocatorFactoryImpl.create(String name, ServiceLocator parent)
           
 ServiceLocator ServiceLocatorFactoryImpl.create(String name, ServiceLocator parent, ServiceLocatorGenerator generator)
           
 void ServiceLocatorFactoryImpl.destroy(ServiceLocator locator)
           
 

Uses of ServiceLocator in org.glassfish.hk2.utilities
 

Methods in org.glassfish.hk2.utilities that return ServiceLocator
static ServiceLocator ServiceLocatorUtilities.bind(Binder... binders)
          This method will create or find a ServiceLocator with the name "default" and bind all of the binders given together in a single config transaction.
static ServiceLocator ServiceLocatorUtilities.bind(String name, Binder... binders)
          This method will create or find a ServiceLocator with the given name and bind all of the binders given together in a single config transaction.
 

Methods in org.glassfish.hk2.utilities with parameters of type ServiceLocator
static ActiveDescriptor<?> ServiceLocatorUtilities.addOneDescriptor(ServiceLocator locator, Descriptor descriptor)
          It is very often the case that one wishes to add a single descriptor to a service locator.
static void ServiceLocatorUtilities.bind(ServiceLocator locator, Binder... binders)
          This method will bind all of the binders given together in a single config transaction.
static void ServiceLocatorUtilities.enablePerThreadScope(ServiceLocator locator)
          This method will add the ability to use the PerThread scope to the given locator.
 

Constructors in org.glassfish.hk2.utilities with parameters of type ServiceLocator
AliasDescriptor(ServiceLocator locator, ActiveDescriptor<T> descriptor, String contract, String name)
          Construct an AliasDescriptor.
 

Uses of ServiceLocator in org.jvnet.hk2.component
 

Classes in org.jvnet.hk2.component that implement ServiceLocator
 class Habitat
          Deprecated. 
 

Methods in org.jvnet.hk2.component with parameters of type ServiceLocator
static
<T> Creator<T>
Creators.create(Class<T> c, ServiceLocator habitat, Map<String,List<String>> metadata)
          Deprecated. This will be implemented as a find or create
static List<Inhabitant<? extends InjectionResolver>> Creators.getAllInjectionResolvers(ServiceLocator habitat)
          Deprecated. Returns all currently available injection annotations
 

Constructors in org.jvnet.hk2.component with parameters of type ServiceLocator
ContractLocatorImpl(ServiceLocator serviceLocator, Type clazz, boolean byContract)
          Deprecated.  
Habitat(ServiceLocator delegate)
          Deprecated.  
 

Uses of ServiceLocator in org.jvnet.hk2.config
 

Methods in org.jvnet.hk2.config with parameters of type ServiceLocator
 void ConfigurationPopulator.populateConfig(ServiceLocator serviceLocator)
           
 

Constructors in org.jvnet.hk2.config with parameters of type ServiceLocator
ConfigModel(DomDocument document, Inhabitant<? extends ConfigInjector> injector, Map<String,List<String>> description, ServiceLocator locator)
           
 

Uses of ServiceLocator in org.jvnet.hk2.deprecated.internal
 

Constructors in org.jvnet.hk2.deprecated.internal with parameters of type ServiceLocator
ContractLocatorImpl(ServiceLocator locator, String contractName)
          Deprecated. Creates a contract locator from the information given
CreatorImpl(Class<?> c, ServiceLocator locator, Map<String,List<String>> metadata, Descriptor d)
          Deprecated.  
InhabitantImpl(ActiveDescriptor<T> desc, ServiceLocator locator)
          Deprecated.  
 

Uses of ServiceLocator in org.jvnet.hk2.external.generator
 

Methods in org.jvnet.hk2.external.generator that return ServiceLocator
 ServiceLocator ServiceLocatorGeneratorImpl.create(String name, ServiceLocator parent)
           
 

Methods in org.jvnet.hk2.external.generator with parameters of type ServiceLocator
 ServiceLocator ServiceLocatorGeneratorImpl.create(String name, ServiceLocator parent)
           
 

Uses of ServiceLocator in org.jvnet.hk2.internal
 

Classes in org.jvnet.hk2.internal that implement ServiceLocator
 class ServiceLocatorImpl
           
 

Methods in org.jvnet.hk2.internal that return types with arguments of type ServiceLocator
static ActiveDescriptor<ServiceLocator> Utilities.getLocatorDescriptor(ServiceLocator locator)
          Returns a constant ActiveDescriptor for the basic ServiceLocator
 

Methods in org.jvnet.hk2.internal with parameters of type ServiceLocator
static ActiveDescriptor<ServiceLocator> Utilities.getLocatorDescriptor(ServiceLocator locator)
          Returns a constant ActiveDescriptor for the basic ServiceLocator
 

Constructors in org.jvnet.hk2.internal with parameters of type ServiceLocator
ServiceLocatorImpl(String name, ServiceLocator parent)
          Called by the Generator, and hence must be a public method
 

Uses of ServiceLocator in org.jvnet.hk2.osgiadapter
 

Methods in org.jvnet.hk2.osgiadapter that return ServiceLocator
 ServiceLocator HK2Main.createServiceLocator(ModulesRegistry mr, StartupContext context, List<? extends PopulatorPostProcessor> postProcessors, DescriptorFileFinder descriptorFileFinder)
           
 

Methods in org.jvnet.hk2.osgiadapter with parameters of type ServiceLocator
 void AbstractOSGiModulesRegistryImpl.parseInhabitants(Module module, String name, ServiceLocator serviceLocator)
           
 void OsgiPopulatorPostProcessor.setServiceLocator(ServiceLocator serviceLocator)
           
 

Constructors in org.jvnet.hk2.osgiadapter with parameters of type ServiceLocator
OSGiInhabitantsParser(ServiceLocator serviceLocator, org.osgi.framework.BundleContext ctx)
           
 

Uses of ServiceLocator in org.jvnet.hk2.testing.junit
 

Fields in org.jvnet.hk2.testing.junit declared as ServiceLocator
protected  ServiceLocator HK2Runner.testLocator
          Test classes can use this service locator as their private test locator
 



Copyright © 2013 Oracle Corporation. All Rights Reserved.