mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/persistence/PersistenceManagerFactoryCreatorImpl.java
@Activate
    public void activate()
    {
        m_BaseProperties.put("javax.jdo.PersistenceManagerFactoryClass",
                "org.datanucleus.api.jdo.JDOPersistenceManagerFactory");
        m_BaseProperties.put(PropertyNames.PROPERTY_CONNECTION_USER_NAME, "THOSEAdmin");
        m_BaseProperties.put(PropertyNames.PROPERTY_CONNECTION_DRIVER_NAME, m_Driver.getClass().getName());
        m_BaseProperties.put(PropertyNames.PROPERTY_MAPPING, "h2");
        m_BaseProperties.put(PropertyNames.PROPERTY_SCHEMA_AUTOCREATE_ALL, Boolean.TRUE.toString());
        m_BaseProperties.put(PropertyNames.PROPERTY_SCHEMA_VALIDATE_TABLES, Boolean.FALSE.toString());
        m_BaseProperties.put(PropertyNames.PROPERTY_SCHEMA_VALIDATE_CONSTRAINTS, Boolean.FALSE.toString());
        m_BaseProperties.put(PropertyNames.PROPERTY_CLASSLOADER_RESOLVER_NAME, "datanucleus");
        m_BaseProperties.put(PropertyNames.PROPERTY_STORE_MANAGER_TYPE, "rdbms");
        m_BaseProperties.put(PropertyNames.PROPERTY_PLUGIN_REGISTRY_CLASSNAME, OSGiPluginRegistry.class.getName());
    }
/**
     * The service component activation method.
     */
The service component activation method.
The service component activation method .
@Activate
    public void activate()
    {
        m_BaseProperties.put("javax.jdo.PersistenceManagerFactoryClass",
                "org.datanucleus.api.jdo.JDOPersistenceManagerFactory");
        m_BaseProperties.put(PropertyNames.PROPERTY_CONNECTION_USER_NAME, "THOSEAdmin");
        m_BaseProperties.put(PropertyNames.PROPERTY_CONNECTION_DRIVER_NAME, m_Driver.getClass().getName());
        m_BaseProperties.put(PropertyNames.PROPERTY_MAPPING, "h2");
        m_BaseProperties.put(PropertyNames.PROPERTY_SCHEMA_AUTOCREATE_ALL, Boolean.TRUE.toString());
        m_BaseProperties.put(PropertyNames.PROPERTY_SCHEMA_VALIDATE_TABLES, Boolean.FALSE.toString());
        m_BaseProperties.put(PropertyNames.PROPERTY_SCHEMA_VALIDATE_CONSTRAINTS, Boolean.FALSE.toString());
        m_BaseProperties.put(PropertyNames.PROPERTY_CLASSLOADER_RESOLVER_NAME, "datanucleus");
        m_BaseProperties.put(PropertyNames.PROPERTY_STORE_MANAGER_TYPE, "rdbms");
        m_BaseProperties.put(PropertyNames.PROPERTY_PLUGIN_REGISTRY_CLASSNAME, OSGiPluginRegistry.class.getName());
    }
@ Activate public void activate ( ) { m_BaseProperties . put ( "javax.jdo.PersistenceManagerFactoryClass" , "org.datanucleus.api.jdo.JDOPersistenceManagerFactory" ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_CONNECTION_USER_NAME , "THOSEAdmin" ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_CONNECTION_DRIVER_NAME , m_Driver . getClass ( ) . getName ( ) ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_MAPPING , "h2" ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_SCHEMA_AUTOCREATE_ALL , Boolean . TRUE . toString ( ) ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_SCHEMA_VALIDATE_TABLES , Boolean . FALSE . toString ( ) ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_SCHEMA_VALIDATE_CONSTRAINTS , Boolean . FALSE . toString ( ) ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_CLASSLOADER_RESOLVER_NAME , "datanucleus" ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_STORE_MANAGER_TYPE , "rdbms" ) ; m_BaseProperties . put ( PropertyNames . PROPERTY_PLUGIN_REGISTRY_CLASSNAME , OSGiPluginRegistry . class . getName ( ) ) ; }
The service component activation method.
The service component activation method .