|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CauchoProxyConfigurator
Service allowing to set up some configuration parts of a Caucho client proxy (to a remoted service).
This is particularly useful when you have to set proxy configuration dynamically (ie not in XML).
Note: Once the proxy has been instantiated, changing this configuration will not have any impact on that proxy.
Method Summary | |
---|---|
CauchoProxyContribution |
getConfiguration(java.lang.String service,
CauchoProxyContribution source)
Combines a source contribution (eg from XML) with settings that have been set programmatically (through this CauchoProxyConfigurator). |
void |
setServiceAuthentication(java.lang.String service,
java.lang.String user,
java.lang.String password)
|
void |
setServiceContextHandler(java.lang.String service,
RemoteContextHandler handler)
|
void |
setServiceProtocol(java.lang.String service,
Protocol protocol)
|
void |
setServiceUrl(java.lang.String service,
java.lang.String url)
|
Method Detail |
---|
void setServiceProtocol(java.lang.String service, Protocol protocol)
void setServiceUrl(java.lang.String service, java.lang.String url)
void setServiceContextHandler(java.lang.String service, RemoteContextHandler handler)
void setServiceAuthentication(java.lang.String service, java.lang.String user, java.lang.String password)
CauchoProxyContribution getConfiguration(java.lang.String service, CauchoProxyContribution source)
service
- name of remoted service for which to combine configurationsource
- original configuration for the remoted service
service
. Settings provided through
CauchoProxyConfigurator take precedence.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |