Package org.apache.isis.objectstore.jdo.service

Examples of org.apache.isis.objectstore.jdo.service.RegisterEntities


        final Set<String> classesToBePersisted = catalogClassesToBePersisted(configuration, getSpecificationLoader().allSpecifications());
        applicationComponents = new DataNucleusApplicationComponents(props, classesToBePersisted);
    }

    private static Set<String> catalogClassesToBePersisted(final IsisConfiguration configuration, Collection<ObjectSpecification> objectSpecs) {
        final RegisterEntities registerEntities = new RegisterEntities();
        registerEntities.init(configuration.asMap());
       
        Set<String> classNames = Sets.newTreeSet();
        for (final ObjectSpecification spec : objectSpecs) {
            if(spec.containsFacet(JdoPersistenceCapableFacet.class) || spec.containsFacet(JdoEmbeddedOnlyFacet.class)) {
                classNames.add(spec.getFullIdentifier());
View Full Code Here


            with(new DataNucleusPersistenceMechanismInstaller());
           
            withServices(
                    new SimpleObjects(),
                    new WrapperFactoryDefault(),
                    new RegisterEntities(),
                    new IsisJdoSupportImpl()
                    );
        }
View Full Code Here

        final Set<String> classesToBePersisted = catalogClassesToBePersisted(configuration, getSpecificationLoader().allSpecifications());
        applicationComponents = new DataNucleusApplicationComponents(props, classesToBePersisted);
    }

    private static Set<String> catalogClassesToBePersisted(final IsisConfiguration configuration, Collection<ObjectSpecification> objectSpecs) {
        final RegisterEntities registerEntities = new RegisterEntities();
        registerEntities.init(configuration.asMap());
       
        Set<String> classNames = Sets.newTreeSet();
        for (final ObjectSpecification spec : objectSpecs) {
            if(spec.containsFacet(JdoPersistenceCapableFacet.class) || spec.containsFacet(JdoEmbeddedOnlyFacet.class)) {
                classNames.add(spec.getFullIdentifier());
View Full Code Here

            withServices(
                    new ToDoItems(),
                    new ToDoItemAnalysis(),
                    new ToDoItemContributions(),
                    new WrapperFactoryDefault(),
                    new RegisterEntities(),
                    new IsisJdoSupportImpl()
                    );
        }
View Full Code Here

TOP

Related Classes of org.apache.isis.objectstore.jdo.service.RegisterEntities

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.