Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.unitils.orm.hibernate.util;
 
 
	}
	protected boolean isConfiguringAnnotation(HibernateSessionFactory annotation) {
		return annotation.value().length > 0;
	}
	protected OrmConfig createResourceConfig(HibernateSessionFactory configuringAnnotationMethod customConfigMethod) {
		return new OrmConfig(CollectionUtils.asSet(configuringAnnotation.value()), customConfigMethod);
	}
	protected boolean isCustomConfigMethod(Method annotatedMethod) {
		return annotatedMethod.getReturnType().toString().equals("void")
				&& annotatedMethod.getParameterTypes().length == 1 
				&& Configuration.class.isAssignableFrom(annotatedMethod.getParameterTypes()[0]);
	}
New to GrepCode? Check out our FAQ X