Package org.apache.felix.ipojo.runtime.core.services

Examples of org.apache.felix.ipojo.runtime.core.services.Job


            props.put("call", callable.call());
        } catch (Exception e) {
            // Ignore.
        }

        Job anonymous = new Job()  {
            public Map doSomething() {
                Map map = new HashMap();
                map.put("publicObject", publicObject);
                map.put("publicInt", new Integer(publicInt));
                map.put("packageObject", packageObject);
                map.put("packageInt", new Integer(packageInt));
                map.put("protectedObject", protectedObject);
                map.put("protectedInt", new Integer(protectedInt));
                map.put("privateObject", privateObject);
                map.put("privateInt", new Integer(privateInt));
                map.put("nonObject", nonObject);
                map.put("nonInt", new Integer(nonInt));
                return map;
            }
        };
       
        props.put("anonymous", anonymous.doSomething());
        props.put("public", new PublicNested());
       
       
        return props;
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.runtime.core.services.Job

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.