All Downloads are FREE. Search and download functionalities are using the official Maven repository.

no.mnemonic.commons.container.plugins.ComponentValidator Maven / Gradle / Ivy

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