public class PollenApplicationContext extends Object
Modifier and Type | Field and Description |
---|---|
static String |
APPLICATION_CONTEXT_PARAMETER
Key to store the single instance of the application context
|
protected PollenConfiguration |
configuration |
protected PollenNotifierWorker |
pollenNotifierWorker |
protected org.nuiton.topia.TopiaContext |
rootContext |
protected VoteCountingFactory |
voteCountingFactory |
Constructor and Description |
---|
PollenApplicationContext() |
Modifier and Type | Method and Description |
---|---|
static PollenApplicationContext |
get(com.opensymphony.xwork2.ActionContext actionContext) |
static PollenApplicationContext |
get(javax.servlet.ServletContext servletContext) |
PollenConfiguration |
getConfiguration() |
PollenNotifierWorker |
getPollenNotifierWorker() |
org.nuiton.topia.TopiaContext |
getRootContext() |
VoteCountingFactory |
getVoteCountingFactory() |
static void |
set(com.opensymphony.xwork2.ActionContext actionContext,
PollenApplicationContext context) |
static void |
set(javax.servlet.ServletContext servletContext,
PollenApplicationContext context) |
void |
setConfiguration(PollenConfiguration configuration) |
void |
setPollenNotifierWorker(PollenNotifierWorker pollenNotifierWorker) |
void |
setRootContext(org.nuiton.topia.TopiaContext rootContext) |
void |
setVoteCountingFactory(VoteCountingFactory voteCountingFactory) |
public static final String APPLICATION_CONTEXT_PARAMETER
protected PollenConfiguration configuration
protected org.nuiton.topia.TopiaContext rootContext
protected PollenNotifierWorker pollenNotifierWorker
protected VoteCountingFactory voteCountingFactory
public static PollenApplicationContext get(com.opensymphony.xwork2.ActionContext actionContext)
public static PollenApplicationContext get(javax.servlet.ServletContext servletContext)
public static void set(javax.servlet.ServletContext servletContext, PollenApplicationContext context)
public static void set(com.opensymphony.xwork2.ActionContext actionContext, PollenApplicationContext context)
public PollenConfiguration getConfiguration()
public void setConfiguration(PollenConfiguration configuration)
public org.nuiton.topia.TopiaContext getRootContext()
public void setRootContext(org.nuiton.topia.TopiaContext rootContext)
public PollenNotifierWorker getPollenNotifierWorker()
public void setPollenNotifierWorker(PollenNotifierWorker pollenNotifierWorker)
public VoteCountingFactory getVoteCountingFactory()
public void setVoteCountingFactory(VoteCountingFactory voteCountingFactory)
Copyright © 2009–2014 CodeLutin. All rights reserved.