Method Summary |
|
public void | checkMessageBean(MessageDrivenMetaData bean) Provides an empty default implementation for EJB 1.1 verifier (message
beans are for EJB 2.0 and greater only). |
final protected void | fireBeanVerifiedEvent(BeanMetaData bean) |
final protected void | fireBeanVerifiedEvent(BeanMetaData bean, String msg) |
protected void | fireSpecViolationEvent(BeanMetaData bean, Section section) |
protected void | fireSpecViolationEvent(BeanMetaData bean, Method method, Section section) |
public StrategyContext | getContext() Returns the context object reference for this strategy implementation. |
public Iterator | getCreateMethods(Class c) |
public Method | getDefaultCreateMethod(Class c) |
public Iterator | getEJBCreateMethods(Class c) |
public Method | getEJBFindByPrimaryKey(Class c) |
public Iterator | getEJBFindMethods(Class c) |
public Iterator | getFinderMethods(Class home) |
public Method | getMatchingEJBCreate(Class bean, Method create) |
public Method | getMatchingEJBFind(Class bean, Method finder) |
public Method | getMatchingEJBPostCreate(Class bean, Method create) |
abstract public String | getMessageBundle() |
public Iterator | getOnMessageMethods(Class c) |
public boolean | hasANonStaticField(Class c) Checks for at least one non-static field. |
public boolean | hasCreateMethod(Class c) |
public boolean | hasDefaultConstructor(Class c) |
public boolean | hasDefaultCreateMethod(Class home) |
public boolean | hasEJBCreateMethod(Class c, boolean isSession) |
public boolean | hasEJBFindByPrimaryKey(Class c) |
public boolean | hasEJBHomeInterface(Class c) |
public boolean | hasEJBLocalHomeInterface(Class c) |
public boolean | hasEJBLocalObjectInterface(Class c) |
public boolean | hasEJBObjectInterface(Class c) |
public boolean | hasEntityBeanInterface(Class c) |
public boolean | hasFinalizer(Class c) |
public boolean | hasFinderMethod(Class c) |
public boolean | hasLegalRMIIIOPArguments(Method method) |
public boolean | hasLegalRMIIIOPExceptionTypes(Method method) |
public boolean | hasLegalRMIIIOPReturnType(Method method) |
public boolean | hasLocalReturnType(BeanMetaData bean, Method m) |
public boolean | hasMatchingEJBCreate(Class bean, Method create) |
public boolean | hasMatchingEJBFind(Class bean, Method finder) |
public boolean | hasMatchingEJBHome(Class bean, Method home) |
public boolean | hasMatchingEJBPostCreate(Class bean, Method create) |
public boolean | hasMatchingExceptions(Method source, Method target) |
public boolean | hasMatchingMethod(Class bean, Method method) |
public boolean | hasMatchingReturnType(Method a, Method b) |
public boolean | hasMessageDrivenBeanInterface(Class c) |
public boolean | hasMessageListenerInterface(Class c) |
public boolean | hasMoreThanOneCreateMethods(Class c) |
public boolean | hasNoArguments(Method method) checks if the method accepts any parameters. |
public boolean | hasOnMessageMethod(Class c) |
public boolean | hasPrimaryKeyReturnType(EntityMetaData entity, Method m) |
public boolean | hasRemoteReturnType(BeanMetaData bean, Method m) |
public boolean | hasSessionBeanInterface(Class c) |
public boolean | hasSessionSynchronizationInterface(Class c) |
public boolean | hasSingleArgument(Method method, Class argClass) checks if the method accepts a single parameter of a specified type. |
public boolean | hasVoidReturnType(Method method) |
public boolean | isAbstract(Class c) |
public boolean | isAbstract(Method m) |
public boolean | isAllFieldsPublic(Class c) Checks whether all the fields in the class are declared as public. |
public boolean | isAssignableFrom(String className, Class assignableFromClass) |
public boolean | isAssignableFrom(Class clazz, String assignableFromClassName) |
abstract public boolean | isCreateMethod(Method m) |
abstract public boolean | isEjbCreateMethod(Method m) |
public boolean | isFinal(Member member) checks if a class's member (method, constructor or field) has a
final modifier. |
public boolean | isFinal(Class c) |
public boolean | isFinderMethod(Method m) |
public boolean | isMultiObjectFinder(Method f) |
public boolean | isOnMessageMethod(Method m) |
public boolean | isPublic(Member member) checks if a class's member (method, constructor or field) has a
public modifier. |
public boolean | isPublic(Class c) |
protected boolean | isRMIIDLValueType(Class type) |
protected boolean | isRMIIIOPType(Class type) |
public boolean | isSingleObjectFinder(EntityMetaData entity, Method finder) |
public boolean | isStatic(Member member) checks if a class's member (method, constructor or field) has a
static modifier. |
public boolean | isStatic(Class c) |
public boolean | throwsCreateException(Method method) checks if the method includes java.ejb.CreateException in its
throws clause. |
public boolean | throwsFinderException(Method method) checks if the methods includes javax.ejb.FinderException in its
throws clause. |
public boolean | throwsNoException(Method method) checks if the method throws no checked exceptions in its throws clause. |
public boolean | throwsRemoteException(Method method) Checks if the method includes java.rmi.RemoteException or its
subclass in its throws clause. |