1 package com.atlassian.plugin.osgi.hostcomponents;
2
3 /**
4 * Ties a host component registration with a host component instance
5 */
6 public interface InstanceBuilder
7 {
8 /**
9 * Declares the host component instance for the registration.
10 * @param instance The object to tie to the registration
11 * @return The property builder for assigning properties to the registration
12 */
13 PropertyBuilder forInstance(Object instance);
14 }