Examples of addFolder()


Examples of com.antimatterstudios.esftp.directory.FileList.addFolder()

            fl.addFile(str);
          break;

          case IResource.FOLDER:
          case IResource.PROJECT:
            fl.addFolder((IContainer)r);
          break;
          //SftpPlugin.consolePrintln(str,1);
        }        
      }
    }
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

 
  @SuppressWarnings("rawtypes")
  @Test
  public void testGetContractInfo() throws Exception {
    DynamicClassLoader classLoader = new DynamicClassLoader();
    classLoader.addFolder(jarPath);
    ContractInfo ci = ScanClass.getContractInfo(jarPath, classLoader);
    for(SessionBean sb : ci.getSessionBeanList()) {
     
      Assert.assertEquals("com.bj58.spat.servicedemo.contract.INewsService", sb.getInterfaceName());
     
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

 

  @Test
  public void testGetContractClassInfos() throws Exception {
    DynamicClassLoader classLoader = new DynamicClassLoader();
    classLoader.addFolder(jarPath);
    List<ClassInfo> ciList = ScanClass.getContractClassInfos(jarPath, classLoader);
   
    for(int i=0; i<ciList.size(); i++) {
      if(i == 0) {
        Assert.assertEquals("com.bj58.spat.servicedemo.contract.INewsService",
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

 

  @Test
  public void testGetBehaviorClassInfos() throws Exception {
    DynamicClassLoader classLoader = new DynamicClassLoader();
    classLoader.addFolder(jarPath);
    List<ClassInfo> ciList = ScanClass.getBehaviorClassInfos(jarPath, classLoader);
   
    for(int i=0; i<ciList.size(); i++) {
      if(i == 0) {
        Assert.assertEquals("NewsService",
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

  public JTree buildTree() {
    JTree tree = null;
    /**load file jar and class*/
    DynamicClassLoader classLoader = new DynamicClassLoader();
    try {
      classLoader.addFolder(AssistUtils.getPath());
    } catch (Exception e) {
      e.printStackTrace();
    }
    logger.info("-----------------build Tree Start------------------");
   
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

    logger.info("service file is change!!! ");
    try {
      logger.info("begin hot deploy gaea...");
     
      DynamicClassLoader classLoader = new DynamicClassLoader();
      classLoader.addFolder(
          Global.getSingleton().getRootPath() + "service/deploy/" + Global.getSingleton().getServiceConfig().getString("gaea.service.name") + "/",
          Global.getSingleton().getRootPath() + "service/lib/",
          Global.getSingleton().getRootPath() + "lib"
          );
     
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

   
    // init class loader
    logger.info("-----------------loading global jars------------------");
    DynamicClassLoader classLoader = new DynamicClassLoader();
    classLoader.addFolder(
        rootPath + "service/deploy/" + sc.getString("gaea.service.name") + "/",
        rootPath + "service/lib/",
        rootPath + "lib"
        );
   
View Full Code Here

Examples of com.bj58.spat.gaea.server.deploy.hotdeploy.DynamicClassLoader.addFolder()

    String servicePath = Global.getSingleton().getRootPath()
               + "/service/deploy/"
               + Global.getSingleton().getServiceConfig().getString("gaea.service.name");
   
    DynamicClassLoader classLoader = new DynamicClassLoader();
    classLoader.addFolder(servicePath);
   
    List<ClassInfo> ciList = ScanClass.getBehaviorClassInfos(servicePath, classLoader);
    for(ClassInfo ci : ciList) {
      List<MethodInfo> miList = ci.getMethodList();
      for(MethodInfo mi : miList) {
View Full Code Here

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

  @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/");
    System.out.println("pf:" + pf);
View Full Code Here

Examples of com.centraview.email.AccountDetail.addFolder()

              hashmap1 = (HashMap)iterator.next();
              allmesaage = ((Long)hashmap1.get("allMesages")).intValue();
              k++;
            }

            accountdetail.addFolder(new Folder(folderName, folderID, parentID, folderType , allmesaage ,unreadmessages ,parentName));
            accountdetail.setAccountid(accountID);
            accountdetail.setSignature(signature  );
            j = accountID;
          }
          else if(accountID != j)
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.