org.jboss.kernel.plugins.validation.basic
Class BasicKernelBeanValidator
java.lang.Object
org.jboss.kernel.plugins.event.AbstractEventEmitter
org.jboss.kernel.plugins.AbstractKernelObject
org.jboss.kernel.plugins.validation.AbstractKernelBeanValidator
org.jboss.kernel.plugins.validation.basic.BasicKernelBeanValidator
- All Implemented Interfaces:
- KernelEventEmitter, KernelObject, KernelBeanValidator
public class BasicKernelBeanValidator
- extends AbstractKernelBeanValidator
Basic impl of kernel bean validator.
By default it's disabled.
- Author:
- Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISABLED_PROPERTY_KEY
public static final String DISABLED_PROPERTY_KEY
BasicKernelBeanValidator
public BasicKernelBeanValidator()
setKernel
public void setKernel(Kernel kernel)
throws Throwable
- Description copied from interface:
KernelObject
- Set the kernel.
- Specified by:
setKernel
in interface KernelObject
- Overrides:
setKernel
in class AbstractKernelBeanValidator
- Parameters:
kernel
- the kernel
- Throws:
Throwable
- for any error
SecurityException
- if the you don't have KernelPermission('configure')
isDisabled
public boolean isDisabled()
- Description copied from interface:
KernelBeanValidator
- Is the validator disabled.
- Returns:
- is the validator disabled
setDisabled
public void setDisabled(boolean disabled)
- Set the disabled flag.
- Parameters:
disabled
- the disabled flag
readDisabledFlag
protected static boolean readDisabledFlag()
- Read the disabled flag.
- Returns:
- the system property flag read
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.