/** * Return the names of the context's initialization parameters, or an * empty enumeration if the context has no initialization parameters. */ public Enumeration<String> getInitParameterNames() { return context.getInitParameterNames(); }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
public Enumeration getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration) doPrivileged("getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
public Enumeration getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration) doPrivileged("getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
public Enumeration getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration) doPrivileged("getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }
@Override @SuppressWarnings("unchecked") // doPrivileged() returns the correct type public Enumeration<String> getInitParameterNames() { if (SecurityUtil.isPackageProtectionEnabled()) { return (Enumeration<String>) doPrivileged( "getInitParameterNames", null); } else { return context.getInitParameterNames(); } }