Examples of removeChild()


Examples of org.apache.avalon.framework.configuration.DefaultConfiguration.removeChild()

                                                                    componentConfig.getNamespace(),
                                                                    "");
            c.addAll(componentConfig);
            classPathConfig = c.getChild(CLASSLOADER_CONFIG_NAME, false);
            if ( classPathConfig != null ) {
                c.removeChild(classPathConfig);
            }
            // and now add default includes
            if ( useDefaultIncludes ) {
                DefaultConfiguration includeElement;
                includeElement = new DefaultConfiguration("include",
View Full Code Here

Examples of org.apache.catalina.Container.removeChild()

    }

    private void stopWebApp(StandardContext context) throws Exception {
        try {
            Container container = context.getParent();
            container.removeChild(context);
            context.stop();
        } catch (LifecycleException e) {
            throw MESSAGES.stopContextPhaseFailed(e);
        }
        try {
View Full Code Here

Examples of org.apache.catalina.Context.removeChild()

                // JIRA TUSCANY-1599
                //FIXME Looks like a bug in Tomcat when removing the last
                // servlet in the list, catch the exception for now as it doesn't
                // seem harmful, will find a better solution for the next release
            }
            context.removeChild(servletWrapper);
            try {
                servletWrapper.destroyServlet();
            } catch (Exception ex){
                // Temporary hack to stop destruction of servlets without servlet
                // context
View Full Code Here

Examples of org.apache.catalina.Engine.removeChild()

    }

    /** {@inheritDoc} */
    public synchronized void removeHost(Host host) {
        final Engine engine = this.engine;
        engine.removeChild(host);
    }

    InjectedValue<MBeanServer> getMbeanServer() {
        return mbeanServer;
    }
View Full Code Here

Examples of org.apache.catalina.Host.removeChild()

            context.destroy();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        Host host = (Host) context.getParent();
        host.removeChild(context);
    }

    private void setWsContainer(Context context, Wrapper wrapper, HttpListener wsContainer) {
        // Make up an ID for the WebServiceContainer
        // put a reference the ID in the init-params
View Full Code Here

Examples of org.apache.commons.configuration.tree.ConfigurationNode.removeChild()

    protected void removeNode(ConfigurationNode node)
    {
        ConfigurationNode parent = node.getParentNode();
        if (parent != null)
        {
            parent.removeChild(node);
            if (!nodeDefined(parent))
            {
                removeNode(parent);
            }
        }
View Full Code Here

Examples of org.apache.directory.ldapstudio.schemas.view.views.wrappers.ITreeNode.removeChild()

        for ( Iterator iter = schemaWrapperList.iterator(); iter.hasNext(); )
        {
            SchemaWrapper schemaWrapper = ( SchemaWrapper ) iter.next();
            if ( schemaWrapper.getMySchema().equals( ( Schema ) e.getOldValue() ) )
            {
                rootNode.removeChild( schemaWrapper );
                viewer.refresh( rootNode );
                break;
            }
        }
    }
View Full Code Here

Examples of org.apache.hadoop.hdfs.server.namenode.snapshot.DirectoryWithSnapshotFeature.removeChild()

      // create snapshot feature if necessary
      DirectoryWithSnapshotFeature sf = this.getDirectoryWithSnapshotFeature();
      if (sf == null) {
        sf = this.addSnapshotFeature(null);
      }
      return sf.removeChild(this, child, latestSnapshotId);
    }
    return removeChild(child);
  }
 
  /**
 
View Full Code Here

Examples of org.apache.helix.store.zk.ZNode.removeChild()

  public void removeFromParentChildSet(String parentPath, String name)
  {
    ZNode zNode = _cache.get(parentPath);
    if (zNode != null)
    {
      zNode.removeChild(name);
    }
  }

  public boolean exists(String path)
  {
View Full Code Here

Examples of org.apache.jackrabbit.mongomk.impl.model.MongoNode.removeChild()

        MongoNode parent = getStoredNode(parentPath);
        if (!parent.childExists(nodeName)) {
            throw new RuntimeException("Node " + nodeName
                    + " does not exists at parent path: " + parentPath);
        }
        parent.removeChild(nodeName);
        markAsDeleted(nodePath);
    }

    @Override
    public void visit(CopyNodeInstruction instruction) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.