Package org.boris.xlloop.handler

Examples of org.boris.xlloop.handler.FunctionInformationHandler


        super(port);
        this.handler = new CompositeFunctionHandler();
        this.debug = new DebugFunctionHandler(handler);
        this.rfh = new ReflectFunctionHandler();
        this.dfh = new DelegateFunctionHandler();
        this.info = new FunctionInformationHandler();
        setDebug(debug);
        handler.add(rfh);
        handler.add(dfh);
        handler.add(info);
        info.add(rfh);
View Full Code Here


    public static void main(String[] args) throws Exception {
        System.out
                .println("XLLServer v0.0.1 - searching current directory for addins...");
        final FunctionServer fs = new FunctionServer();
        final CompositeFunctionHandler cfh = new CompositeFunctionHandler();
        final FunctionInformationHandler fifh = new FunctionInformationHandler();
        FileSystemWatcher fsw = new FileSystemWatcher(new File(DIR),
                new CallbackAdaptor() {
                    public void fileAdded(File f) {
                        registerAddin(f, fifh, cfh);
                    }
View Full Code Here

        rfh.addMethods("", AnnotationsTest.class);
        CompositeFunctionHandler cfh = new CompositeFunctionHandler();
        cfh.add(rfh);
        cfh.add(srep);
        cfh.add(lfh);
        FunctionInformationHandler firh = new FunctionInformationHandler();
        firh.add(rfh.getFunctions());
        firh.add(lfh.getInformation());
        firh.add(srep); // add script repository as a function provider
        cfh.add(firh);
        cfh.add(new MenuHandler(new TestMenu()));
        cfh.add(new CompTest1());
        return cfh;
    }
View Full Code Here

        // Evaluate any lisp files in this directory (and sub-dirs)
        lfh.eval(new File("functions"), true);

        // Expose a function called "Eval" for the lisp handler
        FunctionInformationHandler firh = new FunctionInformationHandler();
        firh.add(lfh.getInformation());

        // Create a composite function handler
        CompositeFunctionHandler cfh = new CompositeFunctionHandler();
        cfh.add(firh);
        cfh.add(lfh);
View Full Code Here

    public ClientServerTester() throws Exception {
        super(0);
        cfh = new CompositeFunctionHandler();
        rfh = new ReflectFunctionHandler();
        cfh.add(rfh);
        FunctionInformationHandler fifh = new FunctionInformationHandler();
        fifh.add(rfh);
        cfh.add(fifh);
        socket = new ServerSocket(getPort());
        setFunctionHandler(new DebugFunctionHandler(cfh));
        start();
        re = new RequestExecutor(InetAddress.getLocalHost(), getPort());
View Full Code Here

TOP

Related Classes of org.boris.xlloop.handler.FunctionInformationHandler

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.