org.rhq.scripting
Class ScriptSourceProviderFactory

java.lang.Object
  extended by org.rhq.scripting.ScriptSourceProviderFactory

public final class ScriptSourceProviderFactory
extends Object

A factory class for the ScriptSourceProvider implementations.

Author:
Lukas Krejci

Method Summary
static ScriptSourceProvider[] get(ClassLoader classLoader)
          Loads the set of the available ScriptSourceProvider implementations present on the classpath and registered in META-INF/services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static ScriptSourceProvider[] get(ClassLoader classLoader)
Loads the set of the available ScriptSourceProvider implementations present on the classpath and registered in META-INF/services.

Parameters:
classLoader - the classloader to be used to locate the impls or null if the context class loader of the current thread should be used.
Returns:
the set of the script source providers available


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.