org.apache.myfaces.extensions.cdi.core.impl.provider
Class DefaultServiceProvider<T>

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider<T>
      extended by org.apache.myfaces.extensions.cdi.core.impl.provider.SimpleServiceProvider<T>
          extended by org.apache.myfaces.extensions.cdi.core.impl.provider.DefaultServiceProvider<T>

@Typed
@InvocationOrder(value=200)
public class DefaultServiceProvider<T>
extends SimpleServiceProvider<T>

Service-provider with additional features


Field Summary
 
Fields inherited from class org.apache.myfaces.extensions.cdi.core.impl.provider.SimpleServiceProvider
foundServiceClasses
 
Fields inherited from class org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider
FILE_ENCODING, SERVICE_CONFIG, SERVICE_PROVIDER_CLASS, SERVICE_PROVIDER_CONTEXT_CLASS, serviceProviderContext, serviceType
 
Constructor Summary
protected DefaultServiceProvider(Class<T> serviceType, ServiceProviderContext serviceProviderContext)
           
 
Method Summary
protected  void activateInjectionSupport(javax.enterprise.inject.spi.AfterDeploymentValidation afterDeploymentValidation)
           
protected  T createInstance(Class<?> serviceClass)
           
protected  boolean isServiceSupported(Class<T> serviceClass)
           
protected  List<T> loadServiceImplementations()
          
protected  void reset()
           
protected  List<Class<?>> resolveServiceImplementations()
           
 
Methods inherited from class org.apache.myfaces.extensions.cdi.core.impl.provider.SimpleServiceProvider
extractConfiguredServiceClassName, getConfigFileList, getConfigFileLocation, loadClass, loadClassForName, loadConfiguredServices, loadService, toString
 
Methods inherited from class org.apache.myfaces.extensions.cdi.core.api.provider.ServiceProvider
createServiceProviderContext, loadServices, loadServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultServiceProvider

protected DefaultServiceProvider(Class<T> serviceType,
                                 ServiceProviderContext serviceProviderContext)
Method Detail

loadServiceImplementations

protected List<T> loadServiceImplementations()

Overrides:
loadServiceImplementations in class SimpleServiceProvider<T>

resolveServiceImplementations

protected List<Class<?>> resolveServiceImplementations()
Overrides:
resolveServiceImplementations in class SimpleServiceProvider<T>

isServiceSupported

protected boolean isServiceSupported(Class<T> serviceClass)
Overrides:
isServiceSupported in class SimpleServiceProvider<T>

createInstance

protected T createInstance(Class<?> serviceClass)
Overrides:
createInstance in class SimpleServiceProvider<T>

activateInjectionSupport

protected void activateInjectionSupport(@Observes
                                        javax.enterprise.inject.spi.AfterDeploymentValidation afterDeploymentValidation)

reset

protected void reset()


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.