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

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

		if (serviceID == null)
			throw new NullPointerException("Null service ID!");

		final ServiceComponent serviceComponent = componentRepositoryImpl
				.getComponentByID(serviceID);

		if (serviceComponent == null)
			throw new UnrecognizedServiceException(serviceID.toString());

		return serviceComponent.getServiceState();

	}
public ServiceState getState(ServiceID serviceID)
			throws NullPointerException, UnrecognizedServiceException,
			ManagementException {

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

		if (serviceID == null)
			throw new NullPointerException("Null service ID!");

		final ServiceComponent serviceComponent = componentRepositoryImpl
				.getComponentByID(serviceID);

		if (serviceComponent == null)
			throw new UnrecognizedServiceException(serviceID.toString());

		return serviceComponent.getServiceState();

	}
/*
(non-Javadoc)

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