Package com.db4o.config

Examples of com.db4o.config.EmbeddedConfiguration.common()


  public EmbeddedConfiguration createDefaultConfiguration() {
    EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
    configuration.common().reflectWith(new JdkReflector(this.getClass().getClassLoader()));
    configuration.common().add(new TransparentPersistenceSupport());
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestOrigin").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
View Full Code Here


    EmbeddedConfiguration configuration = Db4oEmbedded.newConfiguration();
    configuration.common().reflectWith(new JdkReflector(this.getClass().getClassLoader()));
    configuration.common().add(new TransparentPersistenceSupport());
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestOrigin").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
View Full Code Here

    configuration.common().reflectWith(new JdkReflector(this.getClass().getClassLoader()));
    configuration.common().add(new TransparentPersistenceSupport());
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestOrigin").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
View Full Code Here

    configuration.common().add(new TransparentPersistenceSupport());
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestOrigin").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
View Full Code Here

    configuration.common().objectClass(RequestLogRecord.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestOrigin").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(Tag.class).objectField("name").indexed(true);
View Full Code Here

    configuration.common().objectClass(RequestLogRecord.class).objectField("requestOrigin").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(Tag.class).objectField("name").indexed(true);
View Full Code Here

    configuration.common().objectClass(RequestLogRecord.class).objectField("hostname").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(Tag.class).objectField("name").indexed(true);

    configuration.common().weakReferences(false);
View Full Code Here

    configuration.common().objectClass(RequestLogRecord.class).objectField("requestMethod").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(Tag.class).objectField("name").indexed(true);

    configuration.common().weakReferences(false);
   
View Full Code Here

    configuration.common().objectClass(RequestLogRecord.class).objectField("responseCode").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(Tag.class).objectField("name").indexed(true);

    configuration.common().weakReferences(false);
   
    if(DIAGNOSTICS_ENABLED) {
View Full Code Here

    configuration.common().objectClass(RequestLogRecord.class).objectField("responseLength").indexed(true);
    configuration.common().objectClass(RequestLogRecord.class).objectField("tagList").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("key").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("resource").indexed(true);
    configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
    configuration.common().objectClass(Tag.class).objectField("name").indexed(true);

    configuration.common().weakReferences(false);
   
    if(DIAGNOSTICS_ENABLED) {
      configuration.common().diagnostic().addListener(new DiagnosticToConsole());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.