}
// Set TransactionContextValve
TransactionContextManager transactionContextManager = ctx.getTransactionContextManager();
if (transactionContextManager != null) {
TransactionContextValve transactionValve = new TransactionContextValve(transactionContextManager);
addValve(transactionValve);
}
//Set a PolicyContext Valve
SecurityHolder securityHolder = ctx.getSecurityHolder();