public boolean isStatisticsEnabled() { return utilities.isStatisticsEnabled(); }
public UserTransaction getUserTransaction() throws IllegalStateException { if (!isBeanManagedTransaction()) throw MESSAGES.failToCallIsBeanManagedTransaction(); return utilities.getUserTransaction(); }
public boolean isCallerInRole(final String roleName) throws IllegalStateException { return utilities .getSecurityManager() .isCallerInRole( securityMetaData.getSecurityRoles(), securityMetaData.getSecurityRoleLinks(), roleName); }
public TransactionManager getTransactionManager() { return utilities.getTransactionManager(); }
public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry() { return utilities.getTransactionSynchronizationRegistry(); }
public ServerSecurityManager getSecurityManager() { return utilities.getSecurityManager(); }
public Principal getCallerPrincipal() { return utilities.getSecurityManager().getCallerPrincipal(); }
public UserTransaction getUserTransaction() throws IllegalStateException { return utilities.getUserTransaction(); }
public UserTransaction getUserTransaction() throws IllegalStateException { if (!isBeanManagedTransaction()) throw new IllegalStateException( "EJB 3.1 FR 4.3.3 & 5.4.5 Only beans with bean-managed transaction demarcation can use this method."); return utilities.getUserTransaction(); }
public SimpleSecurityManager getSecurityManager() { return utilities.getSecurityManager(); }