コード例 #1
0
  /**
   * Add an already created container.
   *
   * @param container the EZBContainer to be added.
   */
  public void addContainer(final EZBContainer container) {
    // Add extensions
    callJContainerConfigExtensions(container.getConfiguration());

    String id = container.getId();
    this.containers.put(id, container);
  }
コード例 #2
0
 /**
  * Remove a given container.
  *
  * @param container the container to be removed.
  */
 public void removeContainer(final EZBContainer container) {
   this.containers.remove(container.getId());
 }