container/profiles/src/main/java/org/mobicents/slee/container/profile/AbstractProfileMBeanImpl.java
public void closeProfile() throws InvalidStateException, ManagementException {
        if (logger.isDebugEnabled()) {
            logger.debug("closeProfile() on: " + profileName + ", from table:" + profileTable.getProfileTableName());
        }

        // The closeProfile method must throw a javax.slee.InvalidStateException if the Profile MBean object is in the read-write state.
        if (this.isProfileWriteable())
            throw new InvalidStateException();
        // unregister mbean
        unregister();

    }
public void closeProfile() throws InvalidStateException, ManagementException {
        if (logger.isDebugEnabled()) {
            logger.debug("closeProfile() on: " + profileName + ", from table:" + profileTable.getProfileTableName());
        }

        // The closeProfile method must throw a javax.slee.InvalidStateException if the Profile MBean object is in the read-write state.
        if (this.isProfileWriteable())
            throw new InvalidStateException();
        // unregister mbean
        unregister();

    }
/*
(non-Javadoc)
@see javax.slee.profile.ProfileMBean#closeProfile()