com.atlassian.plugin.webresource
Class WebResourceModuleDescriptor

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor
      extended by com.atlassian.plugin.webresource.WebResourceModuleDescriptor
All Implemented Interfaces:
ModuleDescriptor, Resourced

public class WebResourceModuleDescriptor
extends AbstractModuleDescriptor

A way of linking to web 'resources', such as javascript or css. This allows us to include resources once on any given page, as well as ensuring that plugins can declare resources, even if they are included at the bottom of a page.


Field Summary
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
plugin, resources, singleton
 
Constructor Summary
WebResourceModuleDescriptor()
           
 
Method Summary
 java.lang.Object getModule()
          As this descriptor just handles resources, you should never call this
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, init, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebResourceModuleDescriptor

public WebResourceModuleDescriptor()
Method Detail

getModule

public java.lang.Object getModule()
As this descriptor just handles resources, you should never call this

Specified by:
getModule in interface ModuleDescriptor
Specified by:
getModule in class AbstractModuleDescriptor


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.