container/common/src/main/java/org/mobicents/slee/container/management/jmx/DeploymentMBeanImpl.java
public DeployableUnitDescriptor[] getDescriptors(DeployableUnitID[] duIds)
			throws NullPointerException, ManagementException {
		if (duIds == null)
			throw new NullPointerException("Null arg!");

		final DeployableUnitManagement deployableUnitManagement = getSleeContainer().getDeployableUnitManagement();
		try {
			Set<DeployableUnitDescriptor> result = new HashSet<DeployableUnitDescriptor>();
			for (DeployableUnitID deployableUnitID : deployableUnitManagement
					.getDeployableUnits()) {
				DeployableUnit deployableUnit = deployableUnitManagement
						.getDeployableUnit(deployableUnitID);
				result.add(deployableUnit.getSpecsDeployableUnitDescriptor());
			}
			return result.toArray(new DeployableUnitDescriptor[0]);
		} catch (Throwable ex) {
			throw new ManagementException("Error in tx manager ", ex);
		}

	}
public DeployableUnitDescriptor[] getDescriptors(DeployableUnitID[] duIds)
			throws NullPointerException, ManagementException {
		if (duIds == null)
			throw new NullPointerException("Null arg!");

		final DeployableUnitManagement deployableUnitManagement = getSleeContainer().getDeployableUnitManagement();
		try {
			Set<DeployableUnitDescriptor> result = new HashSet<DeployableUnitDescriptor>();
			for (DeployableUnitID deployableUnitID : deployableUnitManagement
					.getDeployableUnits()) {
				DeployableUnit deployableUnit = deployableUnitManagement
						.getDeployableUnit(deployableUnitID);
				result.add(deployableUnit.getSpecsDeployableUnitDescriptor());
			}
			return result.toArray(new DeployableUnitDescriptor[0]);
		} catch (Throwable ex) {
			throw new ManagementException("Error in tx manager ", ex);
		}

	}
/*
(non-Javadoc)

@see javax.slee.management.DeploymentMBean#getDescriptors(javax.slee.management.DeployableUnitID[])