Examples of addURL()


Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicURLClassLoader.addURL()

 
  @Test
  public void hotDeploy() throws Exception {
   
    DynamicURLClassLoader classLoader = new DynamicURLClassLoader();
    classLoader.addURL("D:/serviceframe_v2_online/lib/serviceframe/serviceframe-2.0.1.beta.jar");
    classLoader.addFolder("D:/serviceframe_v2_online/service/deploy/imc/");
    Class<?> cmCls = classLoader.loadClass("com.bj58.sfft.serviceframe.deploy.bytecode.CreateManager");
   
    Method createProxy = cmCls.getDeclaredMethod("careteProxy", new Class[] { String.class });
    IProxyFactory pf = (IProxyFactory)createProxy.invoke(cmCls.newInstance(), "D:/serviceframe_v2_online/service/deploy/imc/");
View Full Code Here

Examples of com.bramosystems.oss.player.core.client.playlist.MRL.addURL()

            ASXEntry ae = it.next();
            MRL m = new MRL(ae.getTitle(), ae.getAuthor());
            Iterator<Ref> refs = ae.getRefs().iterator();
            while(refs.hasNext()) {
                Ref ref = refs.next();
                m.addURL(ref.getHref());
            }
            p.add(m);
        }
        return p;
    }
View Full Code Here

Examples of com.cedarsoftware.ncube.util.CdnClassLoader.addURL()

            {
                if (!url.endsWith("/"))
                {
                    url += "/";
                }
                urlClassLoader.addURL(new URL(url));
            }
            catch (Exception e)
            {
                throw new IllegalArgumentException("A URL in List of URLs is malformed: " + url);
            }
View Full Code Here

Examples of com.intellij.dvcs.DvcsRememberedInputs.addUrl()

    myRepositoryURL.prependItem(item);
  }

  public void rememberSettings() {
    final DvcsRememberedInputs rememberedInputs = GitRememberedInputs.getInstance();
    rememberedInputs.addUrl(getSourceRepositoryURL());
    rememberedInputs.setCloneParentDir(getParentDirectory());
  }

  /**
   * Get default name for checked out directory
View Full Code Here

Examples of com.jdkcn.myblog.domain.Blog.addUrl()

  private Blog createDefaultBlog(User user) {
    Blog blog = new Blog();
    blog.setName("Another Myblog");
    blog.setDefaultPageSize(Constants.DEFAULT_PAGE_SIZE);
    blog.setDescription("Another Myblog.");
    blog.addUrl("http://code.google.com/p/myblog");
    blog.setOwner(user);
    return blogService.saveOrUpdate(blog);
  }
 
  /**
 
View Full Code Here

Examples of com.jdkcn.myblog.domain.Blog.addUrl()

 
  @Test
  public void testCreateOrUpdate() throws Exception {
    Blog blog = new Blog();
    blog.setName("Just Myblog.");
    blog.addUrl("http://jdkcn.com");
   
    assertNull(blog.getId());
   
    String blogId = blogService.saveOrUpdate(blog).getId();
   
View Full Code Here

Examples of com.spidercache.node.Request.addURL()

    {
       for(int i = 0;i<holdList.size();i++)
       {        
         if(holdList.get(i).equals(current.getDataHash()))
         {
           current.addURL(holdList.get(i));
           holdList.remove(i);
         }
       }
    } 
    //Message message = new QueueMessage(myNode.getNode(),current.getDataHash());
View Full Code Here

Examples of com.sun.enterprise.loader.ASURLClassLoader.addURL()

            if (compatProp != null && compatProp.equals("v2")) {
                List<URL> moduleRootLibraries =
                    ASClassLoaderUtil.getURLsAsList(null,
                    new File[] {context.getSourceDir()}, true);
                for (URL url : moduleRootLibraries) {
                    cloader.addURL(url);
                }
            }

            cloader.addURL(context.getSource().getURI().toURL());
            cloader.addURL(context.getScratchDir("ejb").toURI().toURL());
View Full Code Here

Examples of com.werken.forehead.ForeheadClassLoader.addURL()

                        else
                        {
                            log.debug( "poking dependency " + artifact.getFile() + " into classloader "
                                + dependencyClassLoader );
                        }
                        loader.addURL( artifact.getFile().toURL() );
                    }
                    else
                    {
                        log.debug( "adding dependency " + artifact.getFile() + " into project classloader" );
                        projectClassLoader.addURL( artifact.getFile().toURL() );
View Full Code Here

Examples of com.werken.forehead.ForeheadClassLoader.addURL()

            processDependencies( jellyScriptHousing.getProject() );
            ClassLoader cl = jellyScriptHousing.getProject().getContext().getClassLoader();
            if ( cl instanceof ForeheadClassLoader )
            {
                ForeheadClassLoader pluginClassLoader = (ForeheadClassLoader) cl;
                pluginClassLoader.addURL( jellyScriptHousing.getPluginDirectory().toURL() );
            }
        }

        MavenJellyContext context = jellyScriptHousing.getProject().getContext();
        URL oldRoot = context.getRootURL();
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.