com.atlassian.confluence.plugin
Class ConfluenceHostContainer

java.lang.Object
  extended by com.atlassian.confluence.plugin.ConfluenceHostContainer
All Implemented Interfaces:
com.atlassian.plugin.hostcontainer.HostContainer, 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
static org.slf4j.Logger log
           
 
Constructor Summary
ConfluenceHostContainer()
           
 
Method Summary
<T> T
create(Class<T> tClass)
           
<T> T
getInstance(Class<T> tClass)
           
 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
 

Field Detail

log

public static final org.slf4j.Logger log
Constructor Detail

ConfluenceHostContainer

public ConfluenceHostContainer()
Method Detail

create

public <T> T create(Class<T> tClass)
         throws IllegalArgumentException
Specified by:
create in interface com.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 interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException


Copyright © 2003–2015 Atlassian. All rights reserved.