Package org.apache.cayenne.reflect

Examples of org.apache.cayenne.reflect.MockClassDescriptor


    public void testServerDescriptorFactory() {
        EntityResolver resolver = getDomain().getEntityResolver();
        resolver.getClassDescriptorMap().clearDescriptors();

        MockClassDescriptor mockDescriptor = new MockClassDescriptor();
        MockClassDescriptorFactory factory = new MockClassDescriptorFactory(
                mockDescriptor);
        resolver.getClassDescriptorMap().addFactory(factory);
        try {
            ClassDescriptor descriptor = resolver.getClassDescriptor("MtTable1");
View Full Code Here


    public void testServerDescriptorFactory() {
        EntityResolver resolver = runtime.getDataDomain().getEntityResolver();
        resolver.getClassDescriptorMap().clearDescriptors();

        MockClassDescriptor mockDescriptor = new MockClassDescriptor();
        MockClassDescriptorFactory factory = new MockClassDescriptorFactory(
                mockDescriptor);
        resolver.getClassDescriptorMap().addFactory(factory);
        try {
            ClassDescriptor descriptor = resolver.getClassDescriptor("MtTable1");
View Full Code Here

TOP

Related Classes of org.apache.cayenne.reflect.MockClassDescriptor

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.