private static synchronized void initJVMParams() { /* * Mailet configuration parameters */ final Map<String, String> JVM_PARAMS = new HashMap<String, String>(); JVM_PARAMS.put( SecurityAndTrustMailetOptions.MONITORING_SERVICE_URL_PARAM, "org.nhindirect.gateway.smtp.james.mailet.TxServiceURL"); JVM_PARAMS.put( SecurityAndTrustMailetOptions.AUTO_DSN_FAILURE_CREATION_PARAM, "org.nhindirect.gateway.smtp.james.mailet.AutoDSNFailueCreation"); JVM_PARAMS.put( SecurityAndTrustMailetOptions.SMTP_AGENT_CONFIG_PROVIDER, "org.nhindirect.gateway.smtp.james.mailet.SmptAgentConfigProvider"); JVM_PARAMS.put( SecurityAndTrustMailetOptions.SERVICE_SECURITY_MANAGER_PROVIDER, "org.nhindirect.gateway.smtp.james.mailet.ServiceSecurityManagerProvider"); JVM_PARAMS.put( SecurityAndTrustMailetOptions.SMTP_AGENT_AUDITOR_PROVIDER, "org.nhindirect.gateway.smtp.james.mailet.SmptAgentAuditorProvider"); JVM_PARAMS.put( SecurityAndTrustMailetOptions.SMTP_AGENT_AUDITOR_CONFIG_LOC, "org.nhindirect.gateway.smtp.james.mailet.SmptAgentAuditorConifgLocation"); OptionsManager.addInitParameters(JVM_PARAMS); }
public static synchronized void initJVMParams() { /* * Web service resolver parameters */ final Map<String, String> JVM_PARAMS = new HashMap<String, String>(); JVM_PARAMS.put( WS_CERT_RESOLVER_MAX_CACHE_SIZE, "org.nhindirect.stagent.cert.wsresolver.MaxCacheSize"); JVM_PARAMS.put(WS_CERT_RESOLVER_CACHE_TTL, "org.nhindirect.stagent.cert.wsresolver.CacheTTL"); OptionsManager.addInitParameters(JVM_PARAMS); }