|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.authz.common.config.AbstractConfiguration
org.glite.authz.common.config.AbstractServiceConfiguration
public abstract class AbstractServiceConfiguration
Base class for service configurations.
Field Summary |
---|
Fields inherited from class org.glite.authz.common.config.AbstractConfiguration |
---|
BINDING_NAME |
Constructor Summary | |
---|---|
protected |
AbstractServiceConfiguration(ServiceMetrics metrics)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getAdminHost()
Gets the host upon which the admin service listens. |
java.lang.String |
getAdminPassword()
Gets the password required for admin commands. |
int |
getAdminPort()
Gets the port number upon which the admin service listens. |
java.lang.String |
getEntityId()
Gets the entity ID of the service. |
java.lang.String |
getHostname()
Gets the hostname upon which the service listens. |
int |
getMaxRequestQueueSize()
Gets the maximum number of requests the will queue up if all of its request processing threads are busy. |
int |
getPort()
Gets the port number upon which the service listens. |
ServiceMetrics |
getServiceMetrics()
Gets the metrics for this service. |
org.opensaml.ws.soap.client.SOAPClient |
getSOAPClient()
Gets the SOAP client used to communicate with other services. |
boolean |
isClientCertAuthRequired()
Gets whether client certificate authentication is required for connecting clients. |
boolean |
isSslEnabled()
Gets whether SSL is enabled on the service port. |
protected void |
setAdminHost(java.lang.String host)
Sets the hostname upon which the admin service listens. |
protected void |
setAdminPassword(java.lang.String password)
Sets the password required for admin commands. |
protected void |
setAdminPort(int port)
Sets the port number upon which the admin service listens. |
protected void |
setClientCertAuthRequired(boolean required)
Sets whether client certificate authentication is required of connecting clients. |
protected void |
setEntityId(java.lang.String id)
Sets the entity ID of the service. |
protected void |
setHostname(java.lang.String newHost)
Sets the hostname upon which the service listens. |
protected void |
setMaxRequestQueueSize(int max)
Sets the maximum number of requests the will queue up if all of its request processing threads are busy. |
protected void |
setPort(int newPort)
Sets the port number upon which the service listens. |
protected void |
setSOAPClient(org.opensaml.ws.soap.client.SOAPClient client)
Sets the SOAP client used to communicate with other services. |
protected void |
setSslEnabled(boolean enabled)
Sets whether SSL is enabled on the service port. |
Methods inherited from class org.glite.authz.common.config.AbstractConfiguration |
---|
getConnectionTimeout, getKeyManager, getMaxRequests, getReceiveBufferSize, getSendBufferSize, getTrustManager, getTrustMaterialStore, setConnectionTimeout, setKeyManager, setMaxRequests, setReceiveBufferSize, setSendBufferSize, setX509TrustMaterial |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractServiceConfiguration(ServiceMetrics metrics)
metrics
- metrics container for this storeMethod Detail |
---|
public java.lang.String getEntityId()
public java.lang.String getHostname()
public boolean isClientCertAuthRequired()
public int getMaxRequestQueueSize()
public int getPort()
public ServiceMetrics getServiceMetrics()
public java.lang.String getAdminHost()
public int getAdminPort()
public java.lang.String getAdminPassword()
public org.opensaml.ws.soap.client.SOAPClient getSOAPClient()
public boolean isSslEnabled()
protected final void setEntityId(java.lang.String id)
id
- entity ID of the serviceprotected final void setHostname(java.lang.String newHost)
newHost
- hostname upon which the service listensprotected final void setClientCertAuthRequired(boolean required)
required
- whether client certificate authentication is requiredprotected final void setMaxRequestQueueSize(int max)
max
- maximum number of requests the will queue up if all of its request processing threads are busyprotected final void setPort(int newPort)
newPort
- number upon which the service listensprotected final void setAdminHost(java.lang.String host)
host
- hostname upon which the admin service listensprotected final void setAdminPort(int port)
port
- port number upon which the admin service listensprotected final void setAdminPassword(java.lang.String password)
password
- the password required for admin commandsprotected final void setSOAPClient(org.opensaml.ws.soap.client.SOAPClient client)
client
- SOAP client used to communicate with other servicesprotected final void setSslEnabled(boolean enabled)
enabled
- whether SSL is enabled on the service port
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |