View Javadoc
1   package com.atlassian.plugin.osgi.hostcomponents;
2   
3   import java.util.Dictionary;
4   
5   /**
6    * Represents a registration of a host component
7    */
8   public interface HostComponentRegistration {
9       /**
10       * @return The metadata properties for the component
11       */
12      Dictionary<String, String> getProperties();
13  
14      /**
15       * @return A list of interface names
16       */
17      String[] getMainInterfaces();
18  
19      /**
20       * @return The component instance
21       */
22      Object getInstance();
23  
24      /**
25       * @return The list of interface classes
26       */
27      Class<?>[] getMainInterfaceClasses();
28  }