@Test public void testSetDenyList() { JmsDefaultDeserializationPolicy policy = new JmsDefaultDeserializationPolicy(); assertNotNull(policy.getDenyList()); policy.setDenyList(null); assertNotNull(policy.getDenyList()); assertTrue(policy.getDenyList().isEmpty()); policy.setDenyList(""); assertNotNull(policy.getDenyList()); assertTrue(policy.getDenyList().isEmpty()); policy.setDenyList("*"); assertNotNull(policy.getDenyList()); assertFalse(policy.getDenyList().isEmpty()); policy.setDenyList("a,b,c"); assertNotNull(policy.getDenyList()); assertFalse(policy.getDenyList().isEmpty()); assertEquals("a,b,c", policy.getDenyList()); }
public void setDenyList(String denyList) { ArrayList<String> list = new ArrayList<String>(); if (denyList != null && !denyList.isEmpty()) { list.addAll(Arrays.asList(denyList.split(","))); } this.denyList = list; }
JmsDefaultDeserializationPolicy implements JmsDeserializationPolicy { public void setDenyList(String denyList) { ArrayList<String> list = new ArrayList<String>(); if (denyList != null && !denyList.isEmpty()) { list.addAll(Arrays.asList(denyList.split(","))); } this.denyList = list; } }
JmsDefaultDeserializationPolicy implements JmsDeserializationPolicy { public void setDenyList(String denyList) { ArrayList<String> list = new ArrayList<String>(); if (denyList != null && !denyList.isEmpty()) { list.addAll(Arrays.asList(denyList.split(","))); } this.denyList = list; } JmsDefaultDeserializationPolicy();  JmsDefaultDeserializationPolicy(JmsDefaultDeserializationPolicy source); }
JmsDefaultDeserializationPolicy implements JmsDeserializationPolicy { public void setDenyList(String denyList) { ArrayList<String> list = new ArrayList<String>(); if (denyList != null && !denyList.isEmpty()) { list.addAll(Arrays.asList(denyList.split(","))); } this.denyList = list; } JmsDefaultDeserializationPolicy();  JmsDefaultDeserializationPolicy(JmsDefaultDeserializationPolicy source); @Override JmsDeserializationPolicy copy(); @Override boolean isTrustedType(JmsDestination destination, Class<?> clazz); @Deprecated String getWhiteList(); String getAllowList(); @Deprecated String getBlackList(); String getDenyList(); @Deprecated void setWhiteList(String allowList); void setAllowList(String allowList); @Deprecated void setBlackList(String denyList); void setDenyList(String denyList); @Override int hashCode(); @Override boolean equals(Object obj); }
JmsDefaultDeserializationPolicy implements JmsDeserializationPolicy { public void setDenyList(String denyList) { ArrayList<String> list = new ArrayList<String>(); if (denyList != null && !denyList.isEmpty()) { list.addAll(Arrays.asList(denyList.split(","))); } this.denyList = list; } JmsDefaultDeserializationPolicy();  JmsDefaultDeserializationPolicy(JmsDefaultDeserializationPolicy source); @Override JmsDeserializationPolicy copy(); @Override boolean isTrustedType(JmsDestination destination, Class<?> clazz); @Deprecated String getWhiteList(); String getAllowList(); @Deprecated String getBlackList(); String getDenyList(); @Deprecated void setWhiteList(String allowList); void setAllowList(String allowList); @Deprecated void setBlackList(String denyList); void setDenyList(String denyList); @Override int hashCode(); @Override boolean equals(Object obj); static final String CATCH_ALL_WILDCARD; @Deprecated
    static final String DEPRECATED_ALLOWLIST_PROPERTY; @Deprecated
    static final String DEPRECATED_DENYLIST_PROPERTY; static final String ALLOWLIST_PROPERTY; static final String DENYLIST_PROPERTY; }