Package org.jboss.jandex

Examples of org.jboss.jandex.IndexView


    // Next we do a preliminary pass at metadata processing, which involves:
    //    1) scanning
    final ScanResult scanResult = scan( bootstrapServiceRegistry );
    final DeploymentResources deploymentResources = buildDeploymentResources( scanResult, bootstrapServiceRegistry );
    //    2) building a Jandex index
    final IndexView jandexIndex = locateOrBuildJandexIndex( deploymentResources );
    //    3) building "metadata sources" to keep for later to use in building the SessionFactory
    metadataSources = prepareMetadataSources( jandexIndex, deploymentResources, bootstrapServiceRegistry );

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    withValidatorFactory( configurationValues.get( AvailableSettings.VALIDATION_FACTORY ) );
View Full Code Here


  private IndexView locateOrBuildJandexIndex(DeploymentResources deploymentResources) {
    // for now create a whole new Index to work with, eventually we need to:
    //    1) accept an Index as an incoming config value
    //    2) pass that Index along to the metamodel code...
    IndexView jandexIndex = (IndexView) configurationValues.get( JANDEX_INDEX );
    if ( jandexIndex == null ) {
      jandexIndex = buildJandexIndex( deploymentResources );
    }
    return jandexIndex;
  }
View Full Code Here

    // Next we do a preliminary pass at metadata processing, which involves:
    //    1) scanning
    final ScanResult scanResult = scan( bootstrapServiceRegistry );
    final DeploymentResources deploymentResources = buildDeploymentResources( scanResult, bootstrapServiceRegistry );
    //    2) building a Jandex index
    final IndexView jandexIndex = locateOrBuildJandexIndex( deploymentResources );
    //    3) building "metadata sources" to keep for later to use in building the SessionFactory
    metadataSources = prepareMetadataSources( jandexIndex, deploymentResources, bootstrapServiceRegistry );

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    withValidatorFactory( configurationValues.get( AvailableSettings.VALIDATION_FACTORY ) );
View Full Code Here

  private IndexView locateOrBuildJandexIndex(DeploymentResources deploymentResources) {
    // for now create a whole new Index to work with, eventually we need to:
    //    1) accept an Index as an incoming config value
    //    2) pass that Index along to the metamodel code...
    IndexView jandexIndex = (IndexView) configurationValues.get( JANDEX_INDEX );
    if ( jandexIndex == null ) {
      jandexIndex = buildJandexIndex( deploymentResources );
    }
    return jandexIndex;
  }
View Full Code Here

    @Override
    protected void beforeDiscovery(Collection<BeanArchiveBuilder> builders) {
        List<IndexView> indexes = new ArrayList<IndexView>();
        for (BeanArchiveBuilder builder : builders) {
            IndexView index = (IndexView) builder.getAttribute(INDEX_ATTRIBUTE_NAME);
            indexes.add(index);
        }
        cindex = CompositeIndex.create(indexes);
        beanDefiningAnnotations = buildBeanDefiningAnnotationSet(initialBeanDefiningAnnotations, cindex);
        classFileServices = new JandexClassFileServices(this);
View Full Code Here

    // Next we do a preliminary pass at metadata processing, which involves:
    //    1) scanning
    final ScanResult scanResult = scan( bootstrapServiceRegistry );
    final DeploymentResources deploymentResources = buildDeploymentResources( scanResult, bootstrapServiceRegistry );
    //    2) building a Jandex index
    final IndexView jandexIndex = locateOrBuildJandexIndex( deploymentResources );
    //    3) building "metadata sources" to keep for later to use in building the SessionFactory
    metadataSources = prepareMetadataSources( jandexIndex, deploymentResources, bootstrapServiceRegistry );

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    withValidatorFactory( configurationValues.get( AvailableSettings.VALIDATION_FACTORY ) );
View Full Code Here

  private IndexView locateOrBuildJandexIndex(DeploymentResources deploymentResources) {
    // for now create a whole new Index to work with, eventually we need to:
    //    1) accept an Index as an incoming config value
    //    2) pass that Index along to the metamodel code...
    IndexView jandexIndex = (IndexView) configurationValues.get( JANDEX_INDEX );
    if ( jandexIndex == null ) {
      jandexIndex = buildJandexIndex( deploymentResources );
    }
    return jandexIndex;
  }
View Full Code Here

    // Next we do a preliminary pass at metadata processing, which involves:
    //    1) scanning
    final ScanResult scanResult = scan( bootstrapServiceRegistry );
    final DeploymentResources deploymentResources = buildDeploymentResources( scanResult, bootstrapServiceRegistry );
    //    2) building a Jandex index
    final IndexView jandexIndex = locateOrBuildJandexIndex( deploymentResources );
    //    3) building "metadata sources" to keep for later to use in building the SessionFactory
    metadataSources = prepareMetadataSources( jandexIndex, deploymentResources, bootstrapServiceRegistry );

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    withValidatorFactory( configurationValues.get( AvailableSettings.VALIDATION_FACTORY ) );
View Full Code Here

  private IndexView locateOrBuildJandexIndex(DeploymentResources deploymentResources) {
    // for now create a whole new Index to work with, eventually we need to:
    //    1) accept an Index as an incoming config value
    //    2) pass that Index along to the metamodel code...
    IndexView jandexIndex = (IndexView) configurationValues.get( JANDEX_INDEX );
    if ( jandexIndex == null ) {
      jandexIndex = buildJandexIndex( deploymentResources );
    }
    return jandexIndex;
  }
View Full Code Here

    // Next we do a preliminary pass at metadata processing, which involves:
    //    1) scanning
    final ScanResult scanResult = scan( bootstrapServiceRegistry );
    final DeploymentResources deploymentResources = buildDeploymentResources( scanResult, bootstrapServiceRegistry );
    //    2) building a Jandex index
    final IndexView jandexIndex = locateOrBuildJandexIndex( deploymentResources );
    //    3) building "metadata sources" to keep for later to use in building the SessionFactory
    metadataSources = prepareMetadataSources( jandexIndex, deploymentResources, bootstrapServiceRegistry );

    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    withValidatorFactory( configurationValues.get( AvailableSettings.VALIDATION_FACTORY ) );
View Full Code Here

TOP

Related Classes of org.jboss.jandex.IndexView

Copyright © 2018 www.massapicom. 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.