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

(-)java/org/apache/catalina/core/StandardServer.java (+18 lines)
Lines 247-252 Link Here
247
    }
247
    }
248
248
249
    /**
249
    /**
250
     * Return the current server built timestamp
251
     * @return server built timestamp.
252
     */
253
    public String getServerBuilt() {
254
  
255
        return ServerInfo.getServerBuilt();
256
    }
257
  
258
    /**
259
     * Return the current server's version number.
260
     * @return server's version number.
261
     */
262
    public String getServerNumber() {
263
264
        return ServerInfo.getServerNumber();
265
    }
266
267
    /**
250
     * Return the port number we listen to for shutdown commands.
268
     * Return the port number we listen to for shutdown commands.
251
     */
269
     */
252
    @Override
270
    @Override
(-)java/org/apache/catalina/core/mbeans-descriptors.xml (+10 lines)
Lines 1329-1334 Link Here
1329
               type="java.lang.String"
1329
               type="java.lang.String"
1330
               writeable="false"/>
1330
               writeable="false"/>
1331
1331
1332
    <attribute name="serverBuilt"
1333
               description="Tomcat server built timestamp"
1334
               type="java.lang.String"
1335
               writeable="false"/>
1336
1337
    <attribute name="serverNumber"
1338
               description="Tomcat server's version number"
1339
               type="java.lang.String"
1340
               writeable="false"/>
1341
1332
    <attribute name="serviceNames"
1342
    <attribute name="serviceNames"
1333
               description="Object names of all services we know about"
1343
               description="Object names of all services we know about"
1334
               type="[Ljavax.management.ObjectName;"
1344
               type="[Ljavax.management.ObjectName;"

Return to bug 58351