@Trivial
    @FFDCIgnore(NamingException.class)
    private String getProviderURL(TimedDirContext ctx) {
        try {
            return (String) ctx.getEnvironment().get(Context.PROVIDER_URL);
        } catch (NamingException e) {
            if (tc.isDebugEnabled()) {
                Tr.debug(tc, "getProviderURL", e.toString(true));
            }
            return "(null)";
        }
    }
@ Trivial @ FFDCIgnore ( NamingException . class ) private String getProviderURL ( TimedDirContext ctx ) { try { return ( String ) ctx . getEnvironment ( ) . get ( Context . PROVIDER_URL ) ; } catch ( NamingException e ) { if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "getProviderURL" , e . toString ( true ) ) ; } return "(null)" ; } }
Get the provider URL from the given directory context.

@param ctx
@return