code: public static void closeOne(String correlationId, Object component) throws ApplicationException {
  
  		if (component instanceof IClosable)
  			((IClosable) component).close(correlationId);
  	}
docs: Closes specific component.
  
  To be closed components must implement ICloseable interface. If they don't
  the call to this method has no effect.
  
  @param correlationId (optional) transaction id to trace execution through
  call chain.
  @param component     the component that is to be closed.
  @throws ApplicationException when error or null no errors occured.
  
  @see IClosable