FileDocCategorySizeDatePackage
Ssl.javaAPI DocGlassfish v2 API10013Fri May 04 22:31:18 BST 2007com.sun.enterprise.config.clientbeans

Ssl

public class Ssl extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class Ssl matches the DTD element ssl

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
Constructors Summary
public Ssl()



	  
		this(Common.USE_DEFAULT_VALUES);
	
public Ssl(int options)

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(0);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("Ssl\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetCertNickname()
Getter for CertNickname of the Element ssl

return
the CertNickname of the Element ssl

			return getAttributeValue(ClientTags.CERT_NICKNAME);
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
		if(attr.equals(ClientTags.SSL2_ENABLED)) return "false".trim();
		if(attr.equals(ClientTags.SSL3_ENABLED)) return "true".trim();
		if(attr.equals(ClientTags.TLS_ENABLED)) return "true".trim();
		if(attr.equals(ClientTags.TLS_ROLLBACK_ENABLED)) return "true".trim();
	return null;
	
public static java.lang.StringgetDefaultSsl2Enabled()
Get the default value of Ssl2Enabled from dtd

		return "false".trim();
	
public static java.lang.StringgetDefaultSsl3Enabled()
Get the default value of Ssl3Enabled from dtd

		return "true".trim();
	
public static java.lang.StringgetDefaultTlsEnabled()
Get the default value of TlsEnabled from dtd

		return "true".trim();
	
public static java.lang.StringgetDefaultTlsRollbackEnabled()
Get the default value of TlsRollbackEnabled from dtd

		return "true".trim();
	
protected java.lang.StringgetRelativeXPath()
get the xpath representation for this element returns something like abc[@name='value'] or abc depending on the type of the bean

	    String ret = null;
	    ret = "ssl";
	    return (null != ret ? ret.trim() : null);
	
public java.lang.StringgetSsl2Ciphers()
Getter for Ssl2Ciphers of the Element ssl

return
the Ssl2Ciphers of the Element ssl

			return getAttributeValue(ClientTags.SSL2_CIPHERS);
	
public java.lang.StringgetSsl3TlsCiphers()
Getter for Ssl3TlsCiphers of the Element ssl

return
the Ssl3TlsCiphers of the Element ssl

			return getAttributeValue(ClientTags.SSL3_TLS_CIPHERS);
	
voidinitialize(int options)


	
public booleanisSsl2Enabled()
Getter for Ssl2Enabled of the Element ssl

return
the Ssl2Enabled of the Element ssl

		return toBoolean(getAttributeValue(ClientTags.SSL2_ENABLED));
	
public booleanisSsl3Enabled()
Getter for Ssl3Enabled of the Element ssl

return
the Ssl3Enabled of the Element ssl

		return toBoolean(getAttributeValue(ClientTags.SSL3_ENABLED));
	
public booleanisTlsEnabled()
Getter for TlsEnabled of the Element ssl

return
the TlsEnabled of the Element ssl

		return toBoolean(getAttributeValue(ClientTags.TLS_ENABLED));
	
public booleanisTlsRollbackEnabled()
Getter for TlsRollbackEnabled of the Element ssl

return
the TlsRollbackEnabled of the Element ssl

		return toBoolean(getAttributeValue(ClientTags.TLS_ROLLBACK_ENABLED));
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetCertNickname(java.lang.String v, boolean overwrite)
Modify the CertNickname of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.CERT_NICKNAME, v, overwrite);
	
public voidsetCertNickname(java.lang.String v)
Modify the CertNickname of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.CERT_NICKNAME, v);
	
public voidsetSsl2Ciphers(java.lang.String v, boolean overwrite)
Modify the Ssl2Ciphers of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.SSL2_CIPHERS, v, overwrite);
	
public voidsetSsl2Ciphers(java.lang.String v)
Modify the Ssl2Ciphers of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.SSL2_CIPHERS, v);
	
public voidsetSsl2Enabled(boolean v, boolean overwrite)
Modify the Ssl2Enabled of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.SSL2_ENABLED, ""+(v==true), overwrite);
	
public voidsetSsl2Enabled(boolean v)
Modify the Ssl2Enabled of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.SSL2_ENABLED, ""+(v==true));
	
public voidsetSsl3Enabled(boolean v, boolean overwrite)
Modify the Ssl3Enabled of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.SSL3_ENABLED, ""+(v==true), overwrite);
	
public voidsetSsl3Enabled(boolean v)
Modify the Ssl3Enabled of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.SSL3_ENABLED, ""+(v==true));
	
public voidsetSsl3TlsCiphers(java.lang.String v, boolean overwrite)
Modify the Ssl3TlsCiphers of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.SSL3_TLS_CIPHERS, v, overwrite);
	
public voidsetSsl3TlsCiphers(java.lang.String v)
Modify the Ssl3TlsCiphers of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.SSL3_TLS_CIPHERS, v);
	
public voidsetTlsEnabled(boolean v, boolean overwrite)
Modify the TlsEnabled of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.TLS_ENABLED, ""+(v==true), overwrite);
	
public voidsetTlsEnabled(boolean v)
Modify the TlsEnabled of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.TLS_ENABLED, ""+(v==true));
	
public voidsetTlsRollbackEnabled(boolean v, boolean overwrite)
Modify the TlsRollbackEnabled of the Element ssl

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ClientTags.TLS_ROLLBACK_ENABLED, ""+(v==true), overwrite);
	
public voidsetTlsRollbackEnabled(boolean v)
Modify the TlsRollbackEnabled of the Element ssl

param
v the new value

		setAttributeValue(ClientTags.TLS_ROLLBACK_ENABLED, ""+(v==true));
	
public voidvalidate()