Package com.atlassian.confluence.plugin
Class ConfluenceHostContainer
- java.lang.Object
-
- com.atlassian.confluence.plugin.ConfluenceHostContainer
-
- All Implemented Interfaces:
com.atlassian.plugin.hostcontainer.HostContainer
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class ConfluenceHostContainer extends Object implements com.atlassian.plugin.hostcontainer.HostContainer, org.springframework.context.ApplicationContextAware
Host container that uses Spring to instantiate objects.
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
-
Constructor Summary
Constructors Constructor Description ConfluenceHostContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
create(Class<T> tClass)
<T> T
getInstance(Class<T> tClass)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
create
public <T> T create(Class<T> tClass) throws IllegalArgumentException
- Specified by:
create
in interfacecom.atlassian.plugin.hostcontainer.HostContainer
- Throws:
IllegalArgumentException
-
getInstance
public <T> T getInstance(Class<T> tClass)
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-