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 /**
11 * @return The metadata properties for the component
12 */
13 Dictionary<String, String> getProperties();
14
15 /**
16 * @return A list of interface names
17 */
18 String[] getMainInterfaces();
19
20 /**
21 * @return The component instance
22 */
23 Object getInstance();
24
25 /**
26 * @return The list of interface classes
27 */
28 Class[] getMainInterfaceClasses();
29 }