Package org.apache.isis.core.metamodel.specloader.traverser

Examples of org.apache.isis.core.metamodel.specloader.traverser.SpecificationTraverserDefault


                                                           final ClassSubstitutorFactory classSubstitutorFactory,
                                                           final Collection<MetaModelRefiner> metaModelRefiners,
                                                           final Set<FacetDecorator> facetDecorators,
                                                           final MetaModelValidator mmv,
                                                           final IsisConfiguration configuration) {
        final SpecificationTraverser specificationTraverser = new SpecificationTraverserDefault();
        final CollectionTypeRegistry collectionTypeRegistry = new CollectionTypeRegistryDefault();
        final ClassSubstitutor classSubstitutor = classSubstitutorFactory.createClassSubstitutor(configuration);
       
        MetaModelValidatorComposite metaModelValidator = MetaModelValidatorComposite.asComposite(mmv);
        for (MetaModelRefiner metaModelRefiner : metaModelRefiners) {
View Full Code Here


        final ObjectReflectorDefault reflector =
                new ObjectReflectorDefault(
                        mockConfiguration,
                        new ClassSubstitutorAbstract() {},
                        new CollectionTypeRegistryDefault(),
                        new SpecificationTraverserDefault(),
                        new ProgrammingModelFacetsJava5(),
                        new HashSet<FacetDecorator>(),
                        new MetaModelValidatorDefault());
        reflector.setRuntimeContext(runtimeContext);
        reflector.setContainer(new DomainObjectContainerDefault());
View Full Code Here

        setContainer(new DomainObjectContainerDefault());
        this.services.addAll(Arrays.asList(services));
        setConfiguration(new IsisConfigurationDefault());
        setClassSubstitutor(new ClassSubstitutorAbstract() {});
        setCollectionTypeRegistry(new CollectionTypeRegistryDefault());
        setSpecificationTraverser(new SpecificationTraverserDefault());
        setFacetDecorators(new TreeSet<FacetDecorator>());
        setProgrammingModelFacets(programmingModel);

        setMetaModelValidator(new MetaModelValidatorDefault());
    }
View Full Code Here

            public ObjectAdapter adapterFor(final Object pattern) {
                return adapters.get(pattern);
            }
        };

        reflector = new ObjectReflectorDefault(configuration, new TestClassSubstitutor(), new CollectionTypeRegistryDefault(), new SpecificationTraverserDefault(), new MemberLayoutArrangerDefault(), new ProgrammingModelFacetsJava5(), new HashSet<FacetDecorator>(), new MetaModelValidatorDefault());
        reflector.setRuntimeContext(new RuntimeContextNoRuntime() {

            @Override
            public AdapterMap getAdapterMap() {
                return adapterMap;
View Full Code Here

                ignoring(mockAuthenticationManager);
                ignoring(mockAuthorizationManager);
            }
        });

        final ObjectReflectorDefault reflector = new ObjectReflectorDefault(configuration, new TestClassSubstitutor(), new CollectionTypeRegistryDefault(), new SpecificationTraverserDefault(), new MemberLayoutArrangerDefault(), new ProgrammingModelFacetsJava5(), new HashSet<FacetDecorator>(),
                new MetaModelValidatorDefault());
        reflector.setRuntimeContext(new RuntimeContextFromSession());
        reflector.init();

        // not sure if this is needed since we have now moved Reflector out to
View Full Code Here

        this.services.addAll(services);
        setConfiguration(new IsisConfigurationDefault());
        setClassSubstitutor(new ClassSubstitutorAbstract() {
        });
        setCollectionTypeRegistry(new CollectionTypeRegistryDefault());
        setSpecificationTraverser(new SpecificationTraverserDefault());
        setMemberLayoutArranger(new MemberLayoutArrangerDefault());
        setFacetDecorators(new TreeSet<FacetDecorator>());
        setProgrammingModelFacets(new ProgrammingModelFacetsJava5());

        setMetaModelValidator(new MetaModelValidatorDefault());
View Full Code Here

            }
        };

        reflector =
            new ObjectReflectorDefault(configuration, new TestClassSubstitutor(), new CollectionTypeRegistryDefault(),
                new SpecificationTraverserDefault(), new MemberLayoutArrangerDefault(),
                new ProgrammingModelFacetsJava5(), new HashSet<FacetDecorator>(), new MetaModelValidatorDefault());
        reflector.setRuntimeContext(new RuntimeContextNoRuntime() {

            @Override
            public AdapterMap getAdapterMap() {
View Full Code Here

        this.serviceTypes.addAll(Arrays.asList(serviceTypes));
        setConfiguration(new IsisConfigurationDefault());
        setClassSubstitutor(new ClassSubstitutorIdentity());
        setCollectionTypeRegistry(new CollectionTypeRegistryDefault());
        setSpecificationTraverser(new SpecificationTraverserDefault());
        setMemberLayoutArranger(new MemberLayoutArrangerDefault());
        setFacetDecorators(new TreeSet<FacetDecorator>());
        setProgrammingModelFacets(new ProgrammingModelFacetsJava5());

        setMetaModelValidator(new MetaModelValidatorDefault());
View Full Code Here

        setContainer(new DomainObjectContainerDefault());
        this.services.addAll(Arrays.asList(services));
        setConfiguration(new IsisConfigurationDefault());
        setClassSubstitutor(new ClassSubstitutorAbstract() {});
        setCollectionTypeRegistry(new CollectionTypeRegistryDefault());
        setSpecificationTraverser(new SpecificationTraverserDefault());
        setFacetDecorators(new TreeSet<FacetDecorator>());
        setProgrammingModelFacets(programmingModel);

        setMetaModelValidator(new MetaModelValidatorDefault());
    }
View Full Code Here

                ignoring(mockConfiguration);
            }
        });

        runtimeContext = new RuntimeContextNoRuntime();
        final ObjectReflectorDefault reflector = new ObjectReflectorDefault(mockConfiguration, new ClassSubstitutorAbstract() {}, new CollectionTypeRegistryDefault(), new SpecificationTraverserDefault(), new ProgrammingModelFacetsJava5(), new HashSet<FacetDecorator>(),
                new MetaModelValidatorDefault());
        reflector.setRuntimeContext(runtimeContext);
        reflector.init();
       
        specification = loadSpecification(reflector);
View Full Code Here

TOP

Related Classes of org.apache.isis.core.metamodel.specloader.traverser.SpecificationTraverserDefault

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.