Examples of IndexView


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

Examples of org.jboss.jandex.IndexView

  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
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.