当前位置: 首页>>代码示例>>Java>>正文


Java DataNucleusPersistenceMechanismInstaller类代码示例

本文整理汇总了Java中org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller的典型用法代码示例。如果您正苦于以下问题:Java DataNucleusPersistenceMechanismInstaller类的具体用法?Java DataNucleusPersistenceMechanismInstaller怎么用?Java DataNucleusPersistenceMechanismInstaller使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DataNucleusPersistenceMechanismInstaller类属于org.apache.isis.objectstore.jdo.datanucleus包,在下文中一共展示了DataNucleusPersistenceMechanismInstaller类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SimpleAppSystemBuilder

import org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller; //导入依赖的package包/类
public SimpleAppSystemBuilder() {
    withLoggingAt(org.apache.log4j.Level.INFO);
    with(testConfiguration());
    with(new DataNucleusPersistenceMechanismInstaller());

    // services annotated with @DomainService
    withServicesIn( "dom.pets"
                    ,"dom.owners"
                    ,"fixture.pets"
                    ,"fixture.owners"
                    ,"org.apache.isis.core.wrapper"
                    ,"org.apache.isis.applib"
                    ,"org.apache.isis.core.metamodel.services"
                    ,"org.apache.isis.core.runtime.services"
                    ,"org.apache.isis.objectstore.jdo.datanucleus.service.support" // IsisJdoSupportImpl
                    ,"org.apache.isis.objectstore.jdo.datanucleus.service.eventbus" // EventBusServiceJdo
                    );
}
 
开发者ID:danhaywood,项目名称:isis-app-petclinic,代码行数:19,代码来源:PetClinicAppSystemInitializer.java

示例2: ToDoSystemBuilder

import org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller; //导入依赖的package包/类
public ToDoSystemBuilder() {
    //withFixtures( ... reference data fixtures ...); // if we had any...
    withLoggingAt(org.apache.log4j.Level.INFO);
    with(testConfiguration());
    with(new DataNucleusPersistenceMechanismInstaller());
    
    withServices(
            new ToDoItems(),
            new ToDoItemAnalysis(),
            new ToDoItemContributions(),
            new ToDoItemsFixturesService(),
            new ClassDiscoveryServiceUsingReflections(),
            new ToDoItemSubscriptions(),
            new WrapperFactoryDefault(),
            new IsisJdoSupportImpl(),
            new Bulk.InteractionContext(),
            new EventBusServiceJdo(),
            new QueryResultsCache(),
            new MementoServiceDefault(),
            new BookmarkServiceDefault(),
            new ClockService()
            );
}
 
开发者ID:resto-tesis,项目名称:resto-tesis,代码行数:24,代码来源:ToDoSystemInitializer.java

示例3: SimpleAppSystemBuilder

import org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller; //导入依赖的package包/类
public SimpleAppSystemBuilder() {
    withLoggingAt(org.apache.log4j.Level.INFO);
    with(testConfiguration());
    with(new DataNucleusPersistenceMechanismInstaller());

    // services annotated with @DomainService
    withServicesIn( "org.isisaddons.module.docx.dom"
                    ,"org.isisaddons.module.docx.fixture"
                    ,"org.apache.isis.core.wrapper"
                    ,"org.apache.isis.applib"
                    ,"org.apache.isis.core.metamodel.services"
                    ,"org.apache.isis.core.runtime.services"
                    ,"org.apache.isis.objectstore.jdo.datanucleus.service.support" // IsisJdoSupportImpl
                    ,"org.apache.isis.objectstore.jdo.datanucleus.service.eventbus" // EventBusServiceJdo
                    );
}
 
开发者ID:martin-g,项目名称:isis-module-pdf,代码行数:17,代码来源:PdfModuleSystemInitializer.java

示例4: SimpleAppSystemBuilder

import org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller; //导入依赖的package包/类
public SimpleAppSystemBuilder() {
    withLoggingAt(org.apache.log4j.Level.INFO);
    with(testConfiguration());
    with(new DataNucleusPersistenceMechanismInstaller());

    // services annotated with @DomainService
    withServicesIn( "org.isisaddons.module.devutils");
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-devutils,代码行数:9,代码来源:DevUtilsModuleSystemInitializer.java

示例5: SimpleAppSystemBuilder

import org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller; //导入依赖的package包/类
public SimpleAppSystemBuilder() {
    //withFixtures( ... reference data fixtures ...); // if we had any...
    withLoggingAt(org.apache.log4j.Level.INFO);
    with(testConfiguration());
    with(new DataNucleusPersistenceMechanismInstaller());
    
    withServices(
            new SimpleObjects(),
            new WrapperFactoryDefault(),
            new RegisterEntities(),
            new IsisJdoSupportImpl()
            );
}
 
开发者ID:danhaywood,项目名称:rrraddd-isis-131,代码行数:14,代码来源:SimpleAppSystemInitializer.java

示例6: ToDoIntegTestBuilder

import org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller; //导入依赖的package包/类
public ToDoIntegTestBuilder() {
    withFixtures(new ToDoItemsFixture());
    withLoggingAt(Level.INFO);
    with(testConfiguration());
    with(new DataNucleusPersistenceMechanismInstaller());
    
    withServices(
            new ToDoItemsJdo(),
            new WrapperFactoryDefault(),
            new RegisterEntities()
            );
}
 
开发者ID:bhargavgolla,项目名称:isisJavaScript,代码行数:13,代码来源:AbstractIntegTest.java


注:本文中的org.apache.isis.objectstore.jdo.datanucleus.DataNucleusPersistenceMechanismInstaller类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。