|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.elca.el4j.core.context.ModuleApplicationContextConfiguration
public class ModuleApplicationContextConfiguration
This class describes the configuration of a ModuleApplicationContext. It can be used to specify how a ModuleApplicationContext should be configured without actually creating the application context.
Constructor Summary | |
---|---|
ModuleApplicationContextConfiguration()
|
Method Summary | |
---|---|
String[] |
getExclusiveConfigLocations()
|
String[] |
getInclusiveConfigLocations()
|
ModuleApplicationContextCreationListener |
getModuleApplicationContextCreationListener()
|
ApplicationContext |
getParent()
|
boolean |
isAllowBeanDefinitionOverriding()
|
boolean |
isMergeWithOuterResources()
|
boolean |
isMostSpecificBeanDefinitionCounts()
|
boolean |
isMostSpecificResourceLast()
|
void |
setAllowBeanDefinitionOverriding(boolean allowBeanDefinitionOverriding)
Indicates if bean definition overriding is enabled. |
void |
setExclusiveConfigLocations(String[] exclusiveConfigLocations)
Exclusive config locations. |
void |
setInclusiveConfigLocations(String[] inclusiveConfigLocations)
Inclusive config locations. |
void |
setMergeWithOuterResources(boolean mergeWithOuterResources)
Indicates if unordered/unknown resources should be used. |
void |
setModuleApplicationContextCreationListener(ModuleApplicationContextCreationListener moduleApplicationContextCreationListener)
Is used to hock into the creation process of the module application context. |
void |
setMostSpecificBeanDefinitionCounts(boolean mostSpecificBeanDefinitionCounts)
Indicates if the most specific bean definition counts. |
void |
setMostSpecificResourceLast(boolean mostSpecificResourceLast)
Indicates if the most specific resource should be the last resource in the fetched resource array. |
void |
setParent(ApplicationContext parent)
The parent application context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModuleApplicationContextConfiguration()
Method Detail |
---|
public final boolean isAllowBeanDefinitionOverriding()
public final void setAllowBeanDefinitionOverriding(boolean allowBeanDefinitionOverriding)
false
.
allowBeanDefinitionOverriding
- Is the allowBeanDefinitionOverriding to set.public final String[] getExclusiveConfigLocations()
public final void setExclusiveConfigLocations(String[] exclusiveConfigLocations)
exclusiveConfigLocations
- Is the exclusiveConfigLocations to set.public final String[] getInclusiveConfigLocations()
public final void setInclusiveConfigLocations(String[] inclusiveConfigLocations)
inclusiveConfigLocations
- Is the inclusiveConfigLocations to set.public final boolean isMergeWithOuterResources()
public final void setMergeWithOuterResources(boolean mergeWithOuterResources)
true
.
mergeWithOuterResources
- Is the mergeWithOuterResources to set.public final boolean isMostSpecificBeanDefinitionCounts()
public final void setMostSpecificBeanDefinitionCounts(boolean mostSpecificBeanDefinitionCounts)
true
.
mostSpecificBeanDefinitionCounts
- Is the mostSpecificBeanDefinitionCounts to set.public final boolean isMostSpecificResourceLast()
public final void setMostSpecificResourceLast(boolean mostSpecificResourceLast)
true
and only one resource is requested the least specific resource will be
returned. The default is set to false
.
mostSpecificResourceLast
- Is the mostSpecificResourceLast to set.public final ApplicationContext getParent()
public final void setParent(ApplicationContext parent)
null
.
parent
- Is the parent to set.public ModuleApplicationContextCreationListener getModuleApplicationContextCreationListener()
public void setModuleApplicationContextCreationListener(ModuleApplicationContextCreationListener moduleApplicationContextCreationListener)
moduleApplicationContextCreationListener
- Is the moduleApplicationContextCreationListener to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |