|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.petite.PetiteConfig
public class PetiteConfig
Petite configuration.
| Field Summary | |
|---|---|
protected boolean |
defaultRunInitMethods
|
protected java.lang.Class<? extends Scope> |
defaultScope
|
protected WiringMode |
defaultWiringMode
|
protected boolean |
detectDuplicatedBeanNames
|
protected boolean |
resolveReferenceParameters
|
| Constructor Summary | |
|---|---|
PetiteConfig()
|
|
| Method Summary | |
|---|---|
boolean |
getDefaultRunInitMethods()
Returns true if init methods should be invoked on explicit wiring, adding and creating. |
java.lang.Class<? extends Scope> |
getDefaultScope()
Returns default scope type. |
WiringMode |
getDefaultWiringMode()
Returns default wiring mode. |
boolean |
getDetectDuplicatedBeanNames()
Returns true if container detects duplicated bean names. |
boolean |
getResolveReferenceParameters()
Returns true if parameter references should be resolved. |
protected WiringMode |
resolveWiringMode(WiringMode wiringMode)
Resolves wiring mode by checking if default and null values. |
void |
setDefaultRunInitMethods(boolean defaultRunInitMethods)
Specifies is init method should be invoked on expliciti wiring, adding and creating. |
void |
setDefaultScope(java.lang.Class<? extends Scope> defaultScope)
Sets default scope type. |
void |
setDefaultWiringMode(WiringMode defaultWiringMode)
Specifies default wiring mode. |
void |
setDetectDuplicatedBeanNames(boolean detectDuplicatedBeanNames)
Specifies if an exception should be thrown if two beans with same exception are registered with this container. |
void |
setResolveReferenceParameters(boolean resolveReferenceParameters)
Defines if reference parameters should be resolved. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Class<? extends Scope> defaultScope
protected WiringMode defaultWiringMode
protected boolean detectDuplicatedBeanNames
protected boolean defaultRunInitMethods
protected boolean resolveReferenceParameters
| Constructor Detail |
|---|
public PetiteConfig()
| Method Detail |
|---|
public java.lang.Class<? extends Scope> getDefaultScope()
public void setDefaultScope(java.lang.Class<? extends Scope> defaultScope)
public WiringMode getDefaultWiringMode()
public void setDefaultWiringMode(WiringMode defaultWiringMode)
protected WiringMode resolveWiringMode(WiringMode wiringMode)
null values.
public boolean getDetectDuplicatedBeanNames()
true if container detects duplicated bean names.
public void setDetectDuplicatedBeanNames(boolean detectDuplicatedBeanNames)
public boolean getDefaultRunInitMethods()
true if init methods should be invoked on explicit wiring, adding and creating.
public void setDefaultRunInitMethods(boolean defaultRunInitMethods)
public boolean getResolveReferenceParameters()
true if parameter references should be resolved.
public void setResolveReferenceParameters(boolean resolveReferenceParameters)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||