container/profiles/src/main/java/org/mobicents/slee/container/profile/AbstractProfileMBeanImpl.java
public static void close(String profileTableName, String profileName) {
        final ObjectName objectName = getObjectName(profileTableName, profileName);
        if (sleeContainer.getMBeanServer().isRegistered(objectName)) {
            Runnable r = new Runnable() {
                public void run() {
                    try {
                        sleeContainer.getMBeanServer().invoke(objectName, "close", new Object[]{}, new String[]{});
                    } catch (Throwable e) {
                        logger.error(e.getMessage(), e);
                    }
                }
            };
            Thread t = new Thread(r);
            t.start();
        }
    }
public static void close(String profileTableName, String profileName) {
        final ObjectName objectName = getObjectName(profileTableName, profileName);
        if (sleeContainer.getMBeanServer().isRegistered(objectName)) {
            Runnable r = new Runnable() {
                public void run() {
                    try {
                        sleeContainer.getMBeanServer().invoke(objectName, "close", new Object[]{}, new String[]{});
                    } catch (Throwable e) {
                        logger.error(e.getMessage(), e);
                    }
                }
            };
            Thread t = new Thread(r);
            t.start();
        }
    }
Closes and unregisters the mbean for the specified profile, if exists

@param profileTableName
@param profileName