public class InvalidBeanCreationEvent extends Object
Constructor and Description |
---|
InvalidBeanCreationEvent(SecurityViolation securityViolation)
Constructor which is required to create the event for the given
SecurityViolation |
Modifier and Type | Method and Description |
---|---|
SecurityViolation |
getSecurityViolation()
Exposes the current
SecurityViolation |
boolean |
isThrowSecurityViolation()
Exposes if the
SecurityViolation wrapped by the current event should be thrown as exception |
void |
setThrowSecurityViolation(boolean throwSecurityViolation)
Allows e.g.
|
public InvalidBeanCreationEvent(SecurityViolation securityViolation)
SecurityViolation
securityViolation
- current security-violationpublic SecurityViolation getSecurityViolation()
SecurityViolation
public void setThrowSecurityViolation(boolean throwSecurityViolation)
throwSecurityViolation
- new value for the flagpublic boolean isThrowSecurityViolation()
SecurityViolation
wrapped by the current event should be thrown as exceptionCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.