@Requires("com.mysema.query.jpa.impl.JPAQuery") public class QueryDslSupportHandler<E> extends AbstractDelegateQueryHandler<E> implements QueryDslSupport { @Override public JPAQuery jpaQuery() { return new JPAQuery(getEntityManager()); } }
/** * Creates the version message for the given class using default format. * * @param clazz the class where package will be determiend from. * @return a string representation of the version information. */ public static String createVersionMessage(Class<?> clazz) { return createVersionMessage(clazz, DEFAULT_LOG_VERSION_INFO); } }
/** * Logs version information for the given class, using the default format. * * @param clazz the class where package will be determiend from. */ public static void logVersionInformation(Class<?> clazz) { logVersionInformation(clazz, DEFAULT_LOG_VERSION_INFO); }
@Veto public class NoTransaction extends AbstractUserTransaction {
/** * */ public class FormDatabaseProducer { @PersistenceUnit(unitName = "org.jbpm.form.builder") @ExtensionManaged @ApplicationScoped @Produces private EntityManagerFactory emf; }
@Veto public class HttpServletRequestContext extends ServletRequestContext {
@Requires("org.jboss.seam.international.status.Messages") public class MessageMarshaller {
/** * By inspecting specified Class, getting package and specification version/implementation version * we write a log message with the provided message format. * * @param clazz the class where package will be determined from. * @param formatPattern the string format. * @param logCategory the category to log against. */ public static void logVersionInformation(Class<?> clazz, String formatPattern, String logCategory) { Logger.getLogger(logCategory) .info(createVersionMessage(clazz, formatPattern)); }
@Veto public class ServletRequestContext { private ServletRequest request;
@Requires("org.drools.KnowledgeBase") @SessionScoped public class RuleBasedPermissionResolver implements PermissionResolver, Serializable {
/** * By inspecting specified Class, getting package and specification version/implementation version * we write a log message with the provided message format. * * @param clazz the class where package will be determined from. * @param formatPattern the string format. */ public static void logVersionInformation(Class<?> clazz, String formatPattern) { Logger.getLogger(clazz) .info(createVersionMessage(clazz, formatPattern)); }
@Veto public class UTTransaction extends AbstractUserTransaction { private static final Logger log = Logger.getLogger(UTTransaction.class);
@Veto public class VersionLoggerUtil {
@Veto public class CMTTransaction extends AbstractUserTransaction {
@Veto public class ResourceProvider implements Serializable {
@Veto public class SeSynchronizations implements Synchronizations
@Veto public class CMTBTMTransaction extends AbstractUserTransaction {
@Veto public class EntityTransaction extends AbstractUserTransaction { private static final Logger log = Logger.getLogger(EntityTransaction.class);
@Veto public class HibernateTransaction extends AbstractUserTransaction implements Synchronization { private static final Logger log = Logger.getLogger(HibernateTransaction.class);