public SocketAddr getSocketAddr() {
if (_socketAddr == null) {
SOAPNameValueModel socketAddrModel = getNameValue(SOAPName.socketAddr);
String socketAddrValue = socketAddrModel != null ? socketAddrModel.getValue() : null;
if (socketAddrValue == null) {
Configuration socketAddrEnvConfig = getEnvironment().getFirstChild(SOAPName.socketAddr.name());
socketAddrValue = socketAddrEnvConfig != null ? socketAddrEnvConfig.getValue() : null;
}
if (socketAddrValue != null) {
_socketAddr = new SocketAddr(socketAddrValue);
} else {
_socketAddr = new SocketAddr();