public final class MdbValidationsUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Collection<MdbValidityStatus> |
assertMDBClassValidity(org.jboss.jandex.ClassInfo mdbClass)
Returns true if the passed
mdbClass meets the requirements set by the EJB3 spec about bean implementation
classes. |
public static Collection<MdbValidityStatus> assertMDBClassValidity(org.jboss.jandex.ClassInfo mdbClass) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
mdbClass meets the requirements set by the EJB3 spec about bean implementation
classes. The passed mdbClass must not be an interface and must be public and not final and not abstract. If
it passes these requirements then this method returns true. Else it returns false.mdbClass - The MDB classorg.jboss.as.server.deployment.DeploymentUnitProcessingExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.