1   package com.atlassian.plugin.osgi.factory.descriptor;
2   
3   import com.atlassian.plugin.descriptors.AbstractModuleDescriptor;
4   import com.atlassian.plugin.Plugin;
5   import com.atlassian.plugin.PluginParseException;
6   
7   /**
8    * Module descriptor for Spring components.  Shouldn't be directly used outside providing read-only information.
9    *
10   * @since 2.2.0
11   */
12  public class ComponentModuleDescriptor extends AbstractModuleDescriptor<Void>
13  {
14  
15      public Void getModule()
16      {
17          throw new UnsupportedOperationException();
18      }
19  
20      @Override
21      protected void loadClass(Plugin plugin, String clazz) throws PluginParseException
22      {
23          // do nothing
24      }
25  
26      /**
27       * @deprecated - BEWARE that this is a temporary method that will not exist for long. Deprecated since 2.3.0
28       *
29       * @return Module Class Name
30       * @since 2.3.0
31       */
32      public String getModuleClassName()
33      {
34          return moduleClassName;
35      }
36  }