本文整理汇总了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
);
}
示例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()
);
}
示例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
);
}
示例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");
}
示例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()
);
}
示例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()
);
}