View | Details | Raw Unified | Return to bug 58351
Collapse All | Expand All

(-)java/org/apache/catalina/core/StandardServer.java (+18 lines)
Lines 259-264 public final class StandardServer extends LifecycleMBeanBase implements Server { Link Here
259
    }
259
    }
260
260
261
    /**
261
    /**
262
     * Return the current server built timestamp
263
     * @return server built timestamp.
264
     */
265
    public String getServerBuilt() {
266
267
        return ServerInfo.getServerBuilt();
268
    }
269
270
    /**
271
     * Return the current server's version number.
272
     * @return server's version number.
273
     */
274
    public String getServerNumber() {
275
276
        return ServerInfo.getServerNumber();
277
    }
278
279
    /**
262
     * Return the port number we listen to for shutdown commands.
280
     * Return the port number we listen to for shutdown commands.
263
     */
281
     */
264
    @Override
282
    @Override
(-)java/org/apache/catalina/core/mbeans-descriptors.xml (-1 / +11 lines)
Lines 1404-1410 Link Here
1404
               description="Tomcat server release identifier"
1404
               description="Tomcat server release identifier"
1405
               type="java.lang.String"
1405
               type="java.lang.String"
1406
               writeable="false"/>
1406
               writeable="false"/>
1407
               
1407
1408
    <attribute name="serverBuilt"
1409
               description="Tomcat server built timestamp"
1410
               type="java.lang.String"
1411
               writeable="false"/>
1412
1413
    <attribute name="serverNumber"
1414
               description="Tomcat server's version number"
1415
               type="java.lang.String"
1416
               writeable="false"/>
1417
1408
    <attribute name="serviceNames"
1418
    <attribute name="serviceNames"
1409
               description="Object names of all services we know about"
1419
               description="Object names of all services we know about"
1410
               type="[Ljavax.management.ObjectName;"
1420
               type="[Ljavax.management.ObjectName;"

Return to bug 58351