Gunnar Morling proposes for example something like that:
TransactionCapability.java
publicinterface TransactionCapability {
boolean isTransactional();
JtaParticipation getJtaParticipationType(); // JtaParticipation being an enum of some form
boolean localTxType();
Class<?> getLocalTransactionImplementationType();
}