com.atlassian.plugin.osgi.bridge.external
Class SpringHostContainer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringHostContainer
public SpringHostContainer()
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.