Examples of identifiedBy()


Examples of org.qi4j.bootstrap.ImportedServiceDeclaration.identifiedBy()

            importedBy( InstanceImporter.class ).
            setMetaInfo( new Server() ).
            visibleIn( serverVisibility );
        if( serverIdentity != null )
        {
            server.identifiedBy( serverIdentity );
        }
    }

    protected Class<? extends JettyConfiguration> configurationEntity()
    {
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

        throws AssemblyException
    {
        ServiceDeclaration service = module.services( MemoryEntityStoreService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        module.services( UuidIdentityGeneratorService.class ).visibleIn( visibility() );
        module.services( OrgJsonValueSerializationService.class ).taggedWith( ValueSerialization.Formats.JSON );
    }
}
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

    {
        module.services( UuidIdentityGeneratorService.class ).visibleIn( visibility() );
        ServiceDeclaration service = module.services( MongoMapEntityStoreService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( hasConfig() )
        {
            configModule().entities( MongoEntityStoreConfiguration.class ).visibleIn( configVisibility() );
        }
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

    {
        module.services( UuidIdentityGeneratorService.class ).visibleIn( visibility() );
        ServiceDeclaration service = module.services( RedisMapEntityStoreService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( hasConfig() )
        {
            configModule().entities( RedisEntityStoreConfiguration.class ).visibleIn( configVisibility() );
        }
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

        ServiceDeclaration service = module.services( JCloudsMapEntityStoreService.class ).
            visibleIn( visibility() ).
            instantiateOnStartup();
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( hasConfig() )
        {
            configModule().entities( JCloudsMapEntityStoreConfiguration.class ).visibleIn( configVisibility() );
        }
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

    {
        module.services( UuidIdentityGeneratorService.class ).visibleIn( visibility() );
        ServiceDeclaration service = module.services( MemoryEntityStoreService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
    }
}
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

    {
        module.services( UuidIdentityGeneratorService.class ).visibleIn( visibility() );
        ServiceDeclaration service = module.services( FileEntityStoreService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( hasConfig() )
        {
            configModule().entities( FileEntityStoreConfiguration.class ).visibleIn( configVisibility() );
        }
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

            .setMetaInfo( info )
            .visibleIn( visibility() )
            .instantiateOnStartup();
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        module.services( UuidIdentityGeneratorService.class ).visibleIn( visibility() );
    }
}
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

    {
        module.services( UuidIdentityGeneratorService.class );
        ServiceDeclaration service = module.services( LevelDBEntityStoreService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( hasConfig() )
        {
            configModule().entities( LevelDBEntityStoreConfiguration.class ).visibleIn( configVisibility() );
        }
View Full Code Here

Examples of org.qi4j.bootstrap.ServiceDeclaration.identifiedBy()

        ServiceDeclaration service = module.services( VoldemortEntityStoreService.class ).
            visibleIn( visibility() ).
            instantiateOnStartup();
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( hasConfig() )
        {
            configModule().entities( VoldemortConfiguration.class ).visibleIn( configVisibility() );
        }
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.