Package org.apache.xbean.recipe

Examples of org.apache.xbean.recipe.ExecutionContext


    private Object getReference() {
        if (referenceName == null) {
            throw new ConstructionException("Reference name has not been set");
        }
        ExecutionContext context = ExecutionContext.getContext();
        if (!context.containsObject(referenceName)) {
            throw new NoSuchObjectException(referenceName);
        }
        return context.getObject(referenceName);
    }
View Full Code Here

TOP

Related Classes of org.apache.xbean.recipe.ExecutionContext

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.