public final class PluginLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PROVIDER_NAME |
static Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
DataBinding |
getDataBinding(String name) |
DataBindingProfile |
getDataBindingProfile(String name) |
Map<String,DataBinding> |
getDataBindings() |
FrontEnd |
getFrontEnd(String name) |
FrontEndProfile |
getFrontEndProfile(String name) |
Map<String,FrontEnd> |
getFrontEnds() |
static PluginLoader |
getInstance() |
protected Plugin |
getPlugin(String resource) |
protected Plugin |
getPlugin(URL url) |
Map<String,Plugin> |
getPlugins() |
protected void |
loadPlugin(Plugin plugin) |
void |
loadPlugin(String resource) |
void |
loadPlugin(URL url) |
static PluginLoader |
newInstance() |
void |
refresh() |
static void |
unload() |
public static final Logger LOG
public static final String DEFAULT_PROVIDER_NAME
public void refresh()
public static PluginLoader newInstance()
public static PluginLoader getInstance()
public static void unload()
public void loadPlugin(URL url) throws IOException
IOException
public void loadPlugin(String resource)
protected void loadPlugin(Plugin plugin)
protected Plugin getPlugin(URL url) throws IOException, JAXBException, FileNotFoundException
protected Plugin getPlugin(String resource) throws JAXBException, FileNotFoundException
JAXBException
FileNotFoundException
public FrontEndProfile getFrontEndProfile(String name)
public DataBinding getDataBinding(String name)
public DataBindingProfile getDataBindingProfile(String name)
public Map<String,DataBinding> getDataBindings()
Apache CXF