code: @Override
  	public List<Component> findComponentChildren( String applicationName, String componentName ) {
  
  		if( componentName == null )
  			this.logger.fine( "Request: list root components in " + applicationName + "." );
  		else
  			this.logger.fine( "Request: find components that can be deployed under a " + componentName + " component in " + applicationName + "." );
  
  		List<Component> result = new ArrayList<> ();
  		Application app = this.manager.applicationMngr().findApplicationByName( applicationName );
  		if( app != null ) {
  			Component comp;
  			if( componentName == null )
  				result.addAll( app.getTemplate().getGraphs().getRootComponents());
  			else if(( comp = ComponentHelpers.findComponent( app, componentName )) != null )
  				result.addAll( ComponentHelpers.findAllChildren( comp ));
  			else
  				this.logger.fine( "No component called " + componentName + " was found in " + applicationName + "." );
  		}
  
  		return result;
  	}
docs: /*
  (non-Javadoc)
  @see net.roboconf.dm.rest.services.internal.resources.IApplicationResource
  #findComponentChildren(java.lang.String, java.lang.String)