container/profiles/src/main/java/org/mobicents/slee/container/profile/ProfileObjectPoolManagement.java
public void removeObjectPool(final ProfileTableImpl profileTable,
			final SleeTransactionManager sleeTransactionManager) {

		
		TransactionalAction action = new TransactionalAction() {
			public void execute() {
				if (logger.isTraceEnabled()) {
		            logger.trace("Removing Pool for " + profileTable);
				}

				removeObjectPool(profileTable);
			}
		};
		
		if (sleeTransactionManager != null) {
			sleeTransactionManager.getTransactionContext().getAfterCommitActions().add(action);			
		}
		else {
			action.execute();
		}
	}
public void removeObjectPool(final ProfileTableImpl profileTable,
			final SleeTransactionManager sleeTransactionManager) {

		
		TransactionalAction action = new TransactionalAction() {
			public void execute() {
				if (logger.isTraceEnabled()) {
		            logger.trace("Removing Pool for " + profileTable);
				}

				removeObjectPool(profileTable);
			}
		};
		
		if (sleeTransactionManager != null) {
			sleeTransactionManager.getTransactionContext().getAfterCommitActions().add(action);			
		}
		else {
			action.execute();
		}
	}
Removes the object pool for the specified profile table. If a
transaction manager is used then the removal is only after the tx commit.

@param sleeTransactionManager
@throws Exception