com.atlassian.plugin.osgi.bridge.external
Class SpringHostContainer

java.lang.Object
  extended by com.atlassian.plugin.osgi.bridge.external.SpringHostContainer
All Implemented Interfaces:
HostContainer, org.springframework.context.ApplicationContextAware

public class SpringHostContainer
extends Object
implements HostContainer, org.springframework.context.ApplicationContextAware

Host container implementation that uses the bundle's application context

Since:
2.2.0

Constructor Summary
SpringHostContainer()
           
 
Method Summary
<T> T
create(Class<T> moduleClass)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringHostContainer

public SpringHostContainer()
Method Detail

create

public <T> T create(Class<T> moduleClass)
         throws IllegalArgumentException
Specified by:
create in interface HostContainer
Throws:
IllegalArgumentException

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2010 Atlassian. All Rights Reserved.