Package honeycrm.client.misc

Examples of honeycrm.client.misc.PluginResponse


          // TODO request is not among the methods..
          ClassLoader loader = store.loadPlugin("foo");
         
          final Class c = Class.forName("honeycrm.server.test.small.dyn.A", true, loader);
          final String returnValue = String.valueOf(c.getMethod("request").invoke(c.newInstance()));
          return new PluginResponse(returnValue);
        } catch (Exception e) {
          e.printStackTrace();
          return new PluginResponse("Exception during class loading " + e.getMessage());
        }
      } else {
        // load class from datastore first.
        return new PluginResponse("not implemented yet");
      }
      // }
  }
View Full Code Here

TOP

Related Classes of honeycrm.client.misc.PluginResponse

Copyright © 2018 www.massapicom. 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.