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 VoteCountingStrategyProvider |
voteCountingStrategyProvider |
| 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() |
VoteCountingStrategyProvider |
getVoteCountingStrategyProvider() |
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 |
setVoteCountingStrategyProvider(VoteCountingStrategyProvider voteCountingStrategyProvider) |
public static final String APPLICATION_CONTEXT_PARAMETER
protected PollenConfiguration configuration
protected org.nuiton.topia.TopiaContext rootContext
protected PollenNotifierWorker pollenNotifierWorker
protected VoteCountingStrategyProvider voteCountingStrategyProvider
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 VoteCountingStrategyProvider getVoteCountingStrategyProvider()
public void setVoteCountingStrategyProvider(VoteCountingStrategyProvider voteCountingStrategyProvider)
Copyright © 2009-2012 CodeLutin. All Rights Reserved.