no.mnemonic.commons.container.plugins.ComponentValidator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of container Show documentation
Show all versions of container Show documentation
Container managing components and their aspects
The newest version!
package no.mnemonic.commons.container.plugins;
import no.mnemonic.commons.component.ValidationContext;
/**
* Use this interface to register custom components which can validate the beans of the container
* Validation is performed before starting any components.
*
* @see ComponentLifecycleHandler
*/
public interface ComponentValidator {
boolean appliesTo(Object obj);
void validate(ValidationContext ctx, Object obj);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy