Package org.qi4j.bootstrap

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


        throws AssemblyException
    {
        ServiceDeclaration alarmSystem = module.services( AlarmSystemService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            alarmSystem.identifiedBy( identity() );
        }
        module.services( SimpleAlarmModelService.class ).setMetaInfo( new AlarmModelDescriptor( "Simple", false ) );
        module.services( StandardAlarmModelService.class ).setMetaInfo( new AlarmModelDescriptor( "Standard", true ) );
        module.services( ExtendedAlarmModelService.class ).setMetaInfo( new AlarmModelDescriptor( "Extended", false ) );
        module.services( AlarmPointFactory.class );
View Full Code Here


        throws AssemblyException
    {
        ServiceDeclaration service = module.services( FileConfigurationService.class ).visibleIn( visibility() );
        if( hasIdentity() )
        {
            service.identifiedBy( identity() );
        }
        if( override != null )
        {
            service.setMetaInfo( override );
        }
View Full Code Here

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

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

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