public static TopicWildcardTranslation getInstance ( ) throws Exception { if ( tcInt . isEntryEnabled ( ) ) Tr . entry ( tcInt , "getInstance" ) ; if ( twt == null ) { try { Class cls = Class . forName ( UtConstants . TWT_FACTORY_CLASS ) ; twt = ( TopicWildcardTranslation ) cls . newInstance ( ) ; } catch ( InstantiationException ie ) { // No FFDC code needed if ( tcInt . isDebugEnabled ( ) ) Tr . debug ( tcInt , "Unable to instantiate TopicWildcardTranslation" , ie ) ; if ( tcInt . isEntryEnabled ( ) ) Tr . exit ( tcInt , "getInstance" ) ; twt = null ; throw ie ; } } if ( tcInt . isEntryEnabled ( ) ) Tr . exit ( tcInt , "getInstance" ) ; return twt ; }
Obtain the singleton instance of the wildcard mapping class .