public final class EjbValidationsUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Collection<MdbValidityStatus> |
assertEjbClassValidity(org.jboss.jandex.ClassInfo mdbClass)
Returns true if the passed
mdbClass meets the requirements set by the Enterprise Beans 3 spec about bean implementation
classes. |
static List<Method> |
getBusinessMethods(Class<?> componentClass) |
static void |
verifyEjbClassAndDefaultConstructor(Constructor<?> ctor,
Class<?> enclosingClass,
boolean noInterface,
String componentName,
String componentClassname,
int modifiers) |
static boolean |
verifyEjbPublicMethodAreNotFinalNorStatic(Method[] methods,
String classname) |
static boolean |
verifyMethodIsNotFinalNorStatic(Method method,
String classname) |
public static Collection<MdbValidityStatus> assertEjbClassValidity(org.jboss.jandex.ClassInfo mdbClass) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
mdbClass meets the requirements set by the Enterprise Beans 3 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.DeploymentUnitProcessingExceptionpublic static void verifyEjbClassAndDefaultConstructor(Constructor<?> ctor, Class<?> enclosingClass, boolean noInterface, String componentName, String componentClassname, int modifiers) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionpublic static boolean verifyEjbPublicMethodAreNotFinalNorStatic(Method[] methods, String classname)
public static boolean verifyMethodIsNotFinalNorStatic(Method method, String classname)
Copyright © 2022 JBoss by Red Hat. All rights reserved.