1   package com.atlassian.seraph.ioc;
2   
3   import com.atlassian.seraph.Initable;
4   
5   /**
6    * Seraph now has the ability to plugin your own IOC code to instantiate component instances.
7    * <p/>
8    * An application can provide an implementation of this class so that IOC auto wired components can be used.
9    */
10  public interface ComponentLocator extends Initable
11  {
12      public <T> T getComponent(Class<T> iface);
13  }