Package org.switchyard.serial.graph

Examples of org.switchyard.serial.graph.Factory


    public Object decompose(final Graph graph) {
        if (getClazz() == null) {
            return null;
        }
        final Class clazz = (Class)graph.decomposeReference(getClazz());
        final Factory factory = Factory.getFactory(clazz);
        final Object obj;
        if (factory.supports(clazz)) {
            obj = factory.create(clazz, this);
        } else {
            final String className = clazz != null ? clazz.getName() : "null";
            SerialLogger.ROOT_LOGGER.classUnsupportedByFactoryReturningNull(className, factory.getClass().getName());
            obj = null;
        }
        Map<String, Integer> ids = getIds();
        if (obj != null && ids != null) {
            for (final Access access : getAccessList(clazz)) {
View Full Code Here

TOP

Related Classes of org.switchyard.serial.graph.Factory

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.