|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.plugin.impl.AbstractPlugin
com.atlassian.plugin.impl.StaticPlugin
com.atlassian.confluence.plugin.dev.AlternativeDirectoryResourceLoaderSupportingStaticPlugin
public class AlternativeDirectoryResourceLoaderSupportingStaticPlugin
Supports the AlternativeDirectoryResourceLoader
for StaticPlugin
s.
StaticPlugins are assumed to be defined by the webapp ClassLoader (CL). This class will decorate the plugin's CL to use ask the AlternativeDirectoryResourceLoader first for resources.
SinglePluginLoader
,
SingleDownloadableResourceBuilder
,
AlternativeDirectoryResourceLoader
Field Summary |
---|
Fields inherited from interface com.atlassian.plugin.Plugin |
---|
NAME_COMPARATOR, VERSION_1, VERSION_2, VERSION_3 |
Constructor Summary | |
---|---|
AlternativeDirectoryResourceLoaderSupportingStaticPlugin()
|
Method Summary | ||
---|---|---|
java.lang.ClassLoader |
getClassLoader()
|
|
com.atlassian.plugin.ModuleDescriptor<?> |
getModuleDescriptor(java.lang.String key)
|
|
java.util.Collection<com.atlassian.plugin.ModuleDescriptor<?>> |
getModuleDescriptors()
|
|
|
getModuleDescriptorsByModuleClass(java.lang.Class<T> aClass)
|
|
java.net.URL |
getResource(java.lang.String name)
|
|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
|
Methods inherited from class com.atlassian.plugin.impl.StaticPlugin |
---|
isDeleteable, isDynamicallyLoaded, isUninstallable, loadClass, uninstallInternal |
Methods inherited from class com.atlassian.plugin.impl.AbstractPlugin |
---|
addModuleDescriptor, close, compareAndSetPluginState, compareTo, containsSystemModule, disable, disableInternal, enable, enableInternal, getActivePermissions, getDateInstalled, getDateLoaded, getI18nNameKey, getInstallationMode, getKey, getLog, getName, getPluginInformation, getPluginState, getPluginsVersion, getRequiredPlugins, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hasAllPermissions, install, installInternal, isBundledPlugin, isEnabled, isEnabledByDefault, isSystemPlugin, removeModuleDescriptor, setEnabled, setEnabledByDefault, setI18nNameKey, setKey, setName, setPluginInformation, setPluginState, setPluginsVersion, setResources, setSystemPlugin, toString, uninstall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlternativeDirectoryResourceLoaderSupportingStaticPlugin()
Method Detail |
---|
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface com.atlassian.plugin.Plugin
getClassLoader
in class com.atlassian.plugin.impl.StaticPlugin
public java.net.URL getResource(java.lang.String name)
getResource
in interface com.atlassian.plugin.Plugin
getResource
in class com.atlassian.plugin.impl.StaticPlugin
public java.io.InputStream getResourceAsStream(java.lang.String name)
getResourceAsStream
in interface com.atlassian.plugin.Plugin
getResourceAsStream
in class com.atlassian.plugin.impl.StaticPlugin
public java.util.Collection<com.atlassian.plugin.ModuleDescriptor<?>> getModuleDescriptors()
getModuleDescriptors
in interface com.atlassian.plugin.Plugin
getModuleDescriptors
in class com.atlassian.plugin.impl.AbstractPlugin
public <T> java.util.List<com.atlassian.plugin.ModuleDescriptor<T>> getModuleDescriptorsByModuleClass(java.lang.Class<T> aClass)
getModuleDescriptorsByModuleClass
in interface com.atlassian.plugin.Plugin
getModuleDescriptorsByModuleClass
in class com.atlassian.plugin.impl.AbstractPlugin
public com.atlassian.plugin.ModuleDescriptor<?> getModuleDescriptor(java.lang.String key)
getModuleDescriptor
in interface com.atlassian.plugin.Plugin
getModuleDescriptor
in class com.atlassian.plugin.impl.AbstractPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |