public static JndiConfigurationSource create(Context context, int priority) {
    return new JndiConfigurationSource(createJndiConfiguration(context, null), priority);
  }
public static JndiConfigurationSource create ( Context context , int priority ) { return new JndiConfigurationSource ( createJndiConfiguration ( context , null ) , priority ) ; }
Creates an instance of {@link JndiConfigurationSource}.

@param context Context required to build the {@link JNDIConfiguration}
@param priority priority at which this {@link ConfigurationSource} to be loaded among other
Configuration sources
@throws NullPointerException when context is null
@throws IllegalArgumentException when the priority is a negative value