Examples of findChild()


Examples of com.intellij.openapi.vfs.VirtualFile.findChild()

      isAtPluginRoot = LivePluginAppComponent.pluginIdToPathMap().containsValue(parentFile.getCanonicalPath());
    }

    boolean fileDoesNotExist = false;
    if (isAtPluginRoot) {
      fileDoesNotExist = (parentFile.findChild(newFileName) == null);
    }

    Presentation presentation = e.getPresentation();
    presentation.setVisible(isAtPluginRoot && fileDoesNotExist);
    presentation.setEnabled(isAtPluginRoot && fileDoesNotExist);
View Full Code Here

Examples of com.sun.jsftemplating.component.ComponentUtil.findChild()

  // First pull off the id from the descriptor
  String id = this.getId(context, parent);

  // We have an id, use it to search for an already-created child
  ComponentUtil compUtil = ComponentUtil.getInstance(context);
  childComponent = compUtil.findChild(parent, id, id);
  if (childComponent != null) {
      return childComponent;
  }

  // Invoke "beforeCreate" handlers
View Full Code Here

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

        synchronized (connection.getConnector()) {

        Container container=connection.getConnector().getContainer();

        // the hostName should be in lowewr case (setName makes a toLowerCase).
        Host host=(Host)container.findChild(hostName.toLowerCase());
        if (host==null) {
            WarpHost whost=new WarpHost();
            whost.setName(hostName);
            whost.setParent(container);
            whost.setAppBase(connection.getConnector().getAppBase());
View Full Code Here

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

        Container host = engine.findChild(virtualHost);
        if (host == null) {
            throw new IllegalArgumentException("Invalid virtual host '" + virtualHost + "'.  Do you have a matchiing Host entry in the server.xml?");
        }

        Context context = (Context) host.findChild("/" + contextRoot);
        if (context == null) {
            throw new IllegalArgumentException("Could not find web application context " + contextRoot + " in host " + host.getName());
        }

        Wrapper wrapper = (Wrapper) context.findChild(servletName);
View Full Code Here

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

        Container host = engine.findChild(virtualHost);
        if (host == null) {
            throw new IllegalArgumentException("Invalid virtual host '" + virtualHost + "'.  Do you have a matchiing Host entry in the server.xml?");
        }

        Context context = (Context) host.findChild("/" + contextRoot);
        if (context == null) {
            throw new IllegalArgumentException("Could not find web application context " + contextRoot + " in host " + host.getName());
        }

        Wrapper wrapper = (Wrapper) context.findChild(servletName);
View Full Code Here

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

        Container host = engine.findChild(virtualHost);
        if (host == null) {
            throw new IllegalArgumentException("Invalid virtual host '" + virtualHost + "'.  Do you have a matchiing Host entry in the server.xml?");
        }

        Context context = (Context) host.findChild("/" + contextRoot);
        if (context == null) {
            throw new IllegalArgumentException("Could not find web application context " + contextRoot + " in host " + host.getName());
        }

        Wrapper wrapper = (Wrapper) context.findChild(servletName);
View Full Code Here

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

        Container host = engine.findChild(virtualHost);
        if (host == null) {
            throw new IllegalArgumentException("Invalid virtual host '" + virtualHost + "'.  Do you have a matchiing Host entry in the server.xml?");
        }

        Context context = (Context) host.findChild("/" + contextRoot);
        if (context == null) {
            throw new IllegalArgumentException("Could not find web application context " + contextRoot + " in host " + host.getName());
        }

        Wrapper wrapper = (Wrapper) context.findChild(servletName);
View Full Code Here

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

        if (webContext != null) {
            String root = webContext;
            if (!root.startsWith("/")) {
                root = '/' + root;
            }
            Context webAppContext = (Context) host.findChild(root);
            // sub context = '/' means the service address is provided by webservices
            if (WEBSERVICE_SUB_CONTEXT.equals("/") && path.startsWith("/")) {
                addServlet(host, webAppContext, path, httpListener, path, addresses);
            } else if (WEBSERVICE_SUB_CONTEXT.equals("/") && !path.startsWith("/")) {
                addServlet(host, webAppContext, '/' + path, httpListener, path, addresses);
View Full Code Here

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

        if (host == null) {
            throw new IllegalArgumentException("Invalid virtual host '" + virtualHost + "'.  Do you have a matching Host entry in the server.xml?");
        }

        // get the webapp context
        Context context = (Context) host.findChild(realRoot);

        if (context == null && "/".equals(realRoot)) { // ROOT
            context = (Context) host.findChild("");
        }
View Full Code Here

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

        // get the webapp context
        Context context = (Context) host.findChild(realRoot);

        if (context == null && "/".equals(realRoot)) { // ROOT
            context = (Context) host.findChild("");
        }

        if (context == null) {
            throw new IllegalStateException("Invalid context '" + realRoot + "'.  Cannot find context in host " + host.getName());
        }
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.