org.jboss.weld.util.serviceProvider
Class PackageServiceLoaderFactory

java.lang.Object
  extended by org.jboss.weld.util.serviceProvider.DefaultServiceLoaderFactory
      extended by org.jboss.weld.util.serviceProvider.PackageServiceLoaderFactory
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service, ServiceLoaderFactory

public class PackageServiceLoaderFactory
extends DefaultServiceLoaderFactory


Constructor Summary
PackageServiceLoaderFactory(java.lang.Package pkg, java.lang.Class<?>... classes)
           
 
Method Summary
<S> DefaultServiceLoader<S>
load(java.lang.Class<S> service)
           
<S> DefaultServiceLoader<S>
load(java.lang.Class<S> service, java.lang.ClassLoader loader)
           
 
Methods inherited from class org.jboss.weld.util.serviceProvider.DefaultServiceLoaderFactory
cleanup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageServiceLoaderFactory

public PackageServiceLoaderFactory(java.lang.Package pkg,
                                   java.lang.Class<?>... classes)
Method Detail

load

public <S> DefaultServiceLoader<S> load(java.lang.Class<S> service)
Specified by:
load in interface ServiceLoaderFactory
Overrides:
load in class DefaultServiceLoaderFactory

load

public <S> DefaultServiceLoader<S> load(java.lang.Class<S> service,
                                        java.lang.ClassLoader loader)
Specified by:
load in interface ServiceLoaderFactory
Overrides:
load in class DefaultServiceLoaderFactory


Copyright © 2008-2010 Seam Framework. All Rights Reserved.