@@ -150,6 +150,8 @@ static WlsServerConfig create(Map<String, Object> serverConfigMap) {
150
150
(String ) serverConfigMap .get ("listenAddress" ),
151
151
sslListenPort ,
152
152
sslPortEnabled ,
153
+ (Integer ) serverConfigMap .get ("adminPort" ),
154
+ (boolean ) serverConfigMap .get ("adminPortEnabled" ),
153
155
getMachineNameFromJsonMap (serverConfigMap ),
154
156
networkAccessPoints );
155
157
}
@@ -162,6 +164,8 @@ static WlsServerConfig create(Map<String, Object> serverConfigMap) {
162
164
* @param listenAddress Configured listen address for this WLS server
163
165
* @param sslListenPort Configured SSL listen port for this WLS server
164
166
* @param sslPortEnabled boolean indicating whether the SSL listen port should be enabled
167
+ * @param adminPort Configured domain wide administration port
168
+ * @param adminPortEnabled boolean indicating whether administration port should be enabled
165
169
* @param machineName Configured machine name for this WLS server
166
170
* @param networkAccessPoints List of NetworkAccessPoint containing channels configured for this
167
171
* WLS server
@@ -172,6 +176,8 @@ public WlsServerConfig(
172
176
String listenAddress ,
173
177
Integer sslListenPort ,
174
178
boolean sslPortEnabled ,
179
+ Integer adminPort ,
180
+ boolean adminPortEnabled ,
175
181
String machineName ,
176
182
List <NetworkAccessPoint > networkAccessPoints ) {
177
183
this .name = name ;
@@ -180,6 +186,8 @@ public WlsServerConfig(
180
186
this .networkAccessPoints = networkAccessPoints ;
181
187
this .sslListenPort = sslListenPort ;
182
188
this .sslPortEnabled = sslPortEnabled ;
189
+ this .adminPort = adminPort ;
190
+ this .adminPortEnabled = adminPortEnabled ;
183
191
this .machineName = machineName ;
184
192
}
185
193
@@ -301,6 +309,8 @@ public boolean equals(Object o) {
301
309
.append (listenPort , that .listenPort )
302
310
.append (listenAddress , that .listenAddress )
303
311
.append (sslListenPort , that .sslListenPort )
312
+ .append (adminPort , that .adminPort )
313
+ .append (adminPortEnabled , that .adminPortEnabled )
304
314
.append (machineName , that .machineName )
305
315
.append (networkAccessPoints , that .networkAccessPoints )
306
316
.isEquals ();
@@ -314,6 +324,8 @@ public int hashCode() {
314
324
.append (listenAddress )
315
325
.append (sslListenPort )
316
326
.append (sslPortEnabled )
327
+ .append (adminPort )
328
+ .append (adminPortEnabled )
317
329
.append (machineName )
318
330
.append (networkAccessPoints )
319
331
.toHashCode ();
@@ -327,6 +339,8 @@ public String toString() {
327
339
.append ("listenAddress" , listenAddress )
328
340
.append ("sslListenPort" , sslListenPort )
329
341
.append ("sslPortEnabled" , sslPortEnabled )
342
+ .append ("adminPort" , adminPort )
343
+ .append ("adminPortEnabled" , adminPortEnabled )
330
344
.append ("machineName" , machineName )
331
345
.append ("networkAccessPoints" , networkAccessPoints )
332
346
.toString ();
0 commit comments