Package org.eclipse.sisu.space

Examples of org.eclipse.sisu.space.IndexedClassFinder


     */
    public <T> List<Class<? extends T>> load( final Class<T> spi )
    {
        final String index = "META-INF/services/" + spi.getName();
        final List<Class<? extends T>> extensionTypes = new ArrayList<Class<? extends T>>();
        for ( final String name : new IndexedClassFinder( index, global ).indexedNames( space ) )
        {
            try
            {
                extensionTypes.add( space.loadClass( name ).asSubclass( spi ) );
            }
View Full Code Here

TOP

Related Classes of org.eclipse.sisu.space.IndexedClassFinder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.