container/services/src/main/java/org/mobicents/slee/container/management/ServiceManagementImpl.java
public ObjectName getServiceUsageMBean(ServiceID serviceID)
			throws NullPointerException, UnrecognizedServiceException,
			ManagementException {

		if (logger.isDebugEnabled()) {
			logger.debug("getServiceUsageMBean " + serviceID);
		}

		final ServiceComponent serviceComponent = componentRepositoryImpl
				.getComponentByID(serviceID);
		if (serviceComponent != null) {
			return serviceComponent.getServiceUsageMBean().getObjectName();
		} else {
			throw new UnrecognizedServiceException(serviceID.toString());
		}
	}
public ObjectName getServiceUsageMBean(ServiceID serviceID)
			throws NullPointerException, UnrecognizedServiceException,
			ManagementException {

		if (logger.isDebugEnabled()) {
			logger.debug("getServiceUsageMBean " + serviceID);
		}

		final ServiceComponent serviceComponent = componentRepositoryImpl
				.getComponentByID(serviceID);
		if (serviceComponent != null) {
			return serviceComponent.getServiceUsageMBean().getObjectName();
		} else {
			throw new UnrecognizedServiceException(serviceID.toString());
		}
	}
/*
(non-Javadoc)

@see
javax.slee.management.ServiceManagementMBean#getServiceUsageMBean(javax
.slee.ServiceID)