public String listComponents(boolean serviceEngines, boolean bindingComponents, String state, String sharedLibraryName, String serviceAssemblyName) throws Exception { return listAllComponents(serviceEngines, bindingComponents, state, sharedLibraryName, serviceAssemblyName, true);
public String listComponents(boolean excludeSEs, boolean excludeBCs, boolean excludePojos, String requiredState, String sharedLibraryName, String serviceAssemblyName) throws Exception { Collection connectors = container.getRegistry().getLocalComponentConnectors(); List components = new ArrayList(); for (Iterator iter = connectors.iterator(); iter.hasNext();) { LocalComponentConnector lcc = (LocalComponentConnector) iter.next();  if (excludeSEs && lcc.isService()) { continue; }  if (excludeBCs && lcc.isBinding()) { continue; }  if (excludePojos && lcc.isPojo()) { continue; }  if (requiredState != null && requiredState.length() > 0 && !requiredState.equals(lcc.getComponentMBean().getCurrentState())) { continue; }   if (sharedLibraryName != null && sharedLibraryName.length() > 0 && !container.getInstallationService().containsSharedLibrary(sharedLibraryName)) { continue; }   if (serviceAssemblyName != null && serviceAssemblyName.length() > 0 && !container.getDeploymentService().isSaDeployed(serviceAssemblyName)) { continue; } components.add(lcc); }  StringBuffer buffer = new StringBuffer(); buffer.append("<?xml version='1.0'?>\n"); buffer.append("<component-info-list xmlns='http: for (Iterator iter = components.iterator(); iter.hasNext();) { LocalComponentConnector lcc = (LocalComponentConnector) iter.next(); buffer.append("\t<component-info>"); if (!lcc.isBinding() && lcc.isService()) { buffer.append(" type='service-engine'"); } else if (lcc.isBinding() && !lcc.isService()) { buffer.append(" type='binding-component'"); } buffer.append(" name='" + lcc.getComponentNameSpace().getName() + "'"); buffer.append(" state='" + lcc.getComponentMBean().getCurrentState() + "'>"); if (lcc.getPacket().getDescription() != null) { buffer.append("\t\t<description>"); buffer.append(lcc.getPacket().getDescription()); buffer.append("<description>\n"); } buffer.append("\t</component-info>\n"); } buffer.append("</component-info-list>"); return buffer.toString();
    public String listComponents(boolean serviceEngines, boolean bindingComponents, String state, String sharedLibraryName, String serviceAssemblyName) throws Exception {        return listAllComponents(serviceEngines, bindingComponents, state, sharedLibraryName, serviceAssemblyName, true);    }