public void prepare ( ) throws SIDiscriminatorSyntaxException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "prepare" ) ; // The user has specified a pattern to match against, check whether it is // wildcarded patternIsWildcarded = mpm . isWildCarded ( destinationNamePatternString ) ; // If the pattern is wildcarded then we can do some work up front. if ( patternIsWildcarded ) { // Retrieve the non-wildcarded stem wildcardStem = mpm . retrieveNonWildcardStem ( destinationNamePatternString ) ; // Validate and parse the pattern up front. parsedPattern = mpm . parseDiscriminator ( destinationNamePatternString ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "prepare" ) ; }
If a pattern is wildcarded we csn parse it up front .