* {@link BindingType} false otherwise
*/
public static boolean isResourceAnnotation(Class<? extends Annotation> clazz)
{
Asserts.assertNotNull(clazz, "clazz parameter can not be null");
XMLAnnotationTypeManager manager = XMLAnnotationTypeManager.getInstance();
if (manager.isResourceExist(clazz))
{
return true;
}
else if (clazz.equals(Resource.class) ||
clazz.equals(PersistenceContext.class) ||