Package org.apache.xbean.recipe

Examples of org.apache.xbean.recipe.ConstructionException


                stateReason = "the service constructor threw an exception. \n" + printException(e);
                throw e;
            }
            Map<String, Object> unsetProperties = objectRecipe.getUnsetProperties();
            if (unsetProperties.size() > 0) {
                throw new ConstructionException("Error creating gbean of class: " + gbeanInfo.getClassName() + ", attempting to set nonexistent properties: " + unsetProperties.keySet());
            }
           
            // write the target variable in a synchronized block so it is available to all threads
            // we do this before calling the setters or start method so the bean can be called back
            // from a setter start method
View Full Code Here

TOP

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

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.