container/common/src/main/java/org/mobicents/slee/container/management/jmx/DeploymentMBeanImpl.java
public DeployableUnitID getDeployableUnit(String deploymentUrl)
			throws NullPointerException, UnrecognizedDeployableUnitException,
			ManagementException {

		DeployableUnitID deployableUnitID = new DeployableUnitID(deploymentUrl);

		boolean duExists = true;
		try {
			if (getSleeContainer().getDeployableUnitManagement()
					.getDeployableUnit(deployableUnitID) == null) {
				duExists = false;
			}
		} catch (Throwable e) {
			throw new ManagementException(e.getMessage(), e);
		}
		if (duExists) {
			return deployableUnitID;
		} else {
			throw new UnrecognizedDeployableUnitException(deploymentUrl);
		}
	}
public DeployableUnitID getDeployableUnit(String deploymentUrl)
			throws NullPointerException, UnrecognizedDeployableUnitException,
			ManagementException {

		DeployableUnitID deployableUnitID = new DeployableUnitID(deploymentUrl);

		boolean duExists = true;
		try {
			if (getSleeContainer().getDeployableUnitManagement()
					.getDeployableUnit(deployableUnitID) == null) {
				duExists = false;
			}
		} catch (Throwable e) {
			throw new ManagementException(e.getMessage(), e);
		}
		if (duExists) {
			return deployableUnitID;
		} else {
			throw new UnrecognizedDeployableUnitException(deploymentUrl);
		}
	}
/*
(non-Javadoc)

@see javax.slee.management.DeploymentMBean#getDeployableUnit(java.lang.String)