|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.authz.common.config.AbstractConfigurationBuilder<ConfigType>
ConfigType
- the type of configuration object built@NotThreadSafe public abstract class AbstractConfigurationBuilder<ConfigType extends AbstractConfiguration>
Base class for builders of AbstractConfiguration
objects.
Constructor Summary | |
---|---|
protected |
AbstractConfigurationBuilder()
Constructor. |
protected |
AbstractConfigurationBuilder(AbstractConfiguration prototype)
Constructor thats creates a builder factory with the same settings as the given prototype configuration. |
Method Summary | |
---|---|
abstract ConfigType |
build()
Builds the configuration represented by the current set properties. |
int |
getConnectionTimeout()
Gets the connection socket timeout, in milliseconds. |
javax.net.ssl.X509KeyManager |
getKeyManager()
Gets the credential used by this service to create SSL connections and digital signatures. |
java.lang.String |
getLoggingConfigFilePath()
Gets the path to the logging file configuration location. |
int |
getMaxConnections()
Gets the maximum number of concurrent connections that may be in-process at one time. |
int |
getReceiveBufferSize()
Gets the size of the buffer, in bytes, used when receiving data. |
int |
getSendBufferSize()
Gets the size of the buffer, in bytes, used when sending data. |
org.glite.voms.PKIStore |
getTrustMaterialStore()
Gets the store containing the trust material used to validate X509 certificates. |
protected void |
populateConfiguration(ConfigType config)
Populates the given configuration with information from this builder. |
void |
setConnectionTimeout(int timeout)
Sets the HTTP connection timeout, in milliseconds. |
void |
setKeyManager(javax.net.ssl.X509KeyManager manager)
Sets the credential used by this service to create SSL connections and digital signatures. |
void |
setLoggingConfigFilePath(java.lang.String path)
Sets the path to the logging file configuration location. |
void |
setMaxConnections(int max)
Sets the maximum number of concurrent connections that may be in-process at one time. |
void |
setReceiveBufferSize(int size)
Sets size of the buffer, in bytes, used when receiving data. |
void |
setSendBufferSize(int size)
Sets the size of the buffer, in bytes, used when sending data. |
void |
setX509TrustMaterial(org.glite.voms.PKIStore material)
Sets the store containing the trust material used to validate X509 certificates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractConfigurationBuilder()
protected AbstractConfigurationBuilder(AbstractConfiguration prototype)
prototype
- the prototype configuration whose values will be used to initialize this builderMethod Detail |
---|
public abstract ConfigType build()
public int getConnectionTimeout()
public java.lang.String getLoggingConfigFilePath()
public int getMaxConnections()
public int getReceiveBufferSize()
public int getSendBufferSize()
public javax.net.ssl.X509KeyManager getKeyManager()
public org.glite.voms.PKIStore getTrustMaterialStore()
protected void populateConfiguration(ConfigType config)
config
- the configuration to populatepublic void setConnectionTimeout(int timeout)
timeout
- HTTP connection timeout, in milliseconds; may not be less than 1public void setLoggingConfigFilePath(java.lang.String path)
path
- path to the logging file configuration locationpublic void setMaxConnections(int max)
max
- maximum number of concurrent connections that may be in-process at one time; may not be less than 1public void setReceiveBufferSize(int size)
size
- size of the buffer, in bytes, used when receiving data; may not be less than 1public void setSendBufferSize(int size)
size
- size of the buffer, in bytes, used when sending data; may not be less than 1public void setKeyManager(javax.net.ssl.X509KeyManager manager)
manager
- credential used by this service to create SSL connections and digital signaturespublic void setX509TrustMaterial(org.glite.voms.PKIStore material)
material
- store containing the trust material used to validate X509 certificates
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |