コード例 #1
0
  public synchronized Destination removeDestination(String destinationName) {
    Destination destinationModel = _destinations.remove(destinationName);

    if (destinationModel != null) {
      destinationModel.removeDestinationEventListeners();
      destinationModel.unregisterMessageListeners();

      fireDestinationRemovedEvent(destinationModel);
    }

    return destinationModel;
  }