|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServletRuntimeMBean
Describes a servlet.
Method Summary | |
---|---|
String |
getContextPath()
Provides the context path for this servlet. |
int |
getExecutionTimeAverage()
Provides the average amount of time all invocations of the servlet have executed since created. |
int |
getExecutionTimeHigh()
Provides the amount of time the single longest invocation of the servlet has executed since created. |
int |
getExecutionTimeLow()
Provides the amount of time the single shortest invocation of the servlet has executed since created. |
long |
getExecutionTimeTotal()
Provides the total amount of time all invocations of the servlet have executed since created. |
int |
getInvocationTotalCount()
Provides a total count of the times this servlet has been invoked. |
int |
getPoolMaxCapacity()
Provides the maximum capacity of this servlet for single thread model servlets. |
int |
getReloadTotalCount()
Provides a total count of the number of times this servlet has been reloaded. |
String |
getServletClassName()
Provides the servlet class name |
String |
getServletName()
Provides the name of this instance of a servlet. |
String |
getServletPath()
Provides the servlet path. |
String |
getURL()
Provides the value of the URL for this servlet. |
String[] |
getURLPatterns()
Provides a description of the URL patterns for this servlet. |
Serializable[] |
invokeAnnotatedMethods(Class<? extends Annotation> annotationToMatch,
Serializable... arguments)
Invokes annotated public methods on the servlet object which is managed by this ServletRuntimeMBean. |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
String getServletName()
Provides the name of this instance of a servlet.
String getServletClassName()
Provides the servlet class name
int getReloadTotalCount()
Provides a total count of the number of times this servlet has been reloaded.
int getInvocationTotalCount()
Provides a total count of the times this servlet has been invoked.
int getPoolMaxCapacity()
Provides the maximum capacity of this servlet for single thread model servlets.
long getExecutionTimeTotal()
Provides the total amount of time all invocations of the servlet have executed since created.
int getExecutionTimeHigh()
Provides the amount of time the single longest invocation of the servlet has executed since created.
int getExecutionTimeLow()
Provides the amount of time the single shortest invocation of the servlet has executed since created. Note that for the CounterMonitor, the difference option must be used.
int getExecutionTimeAverage()
Provides the average amount of time all invocations of the servlet have executed since created.
String getServletPath()
Provides the servlet path.
String getContextPath()
Provides the context path for this servlet.
String getURL()
Provides the value of the URL for this servlet.
String[] getURLPatterns()
Provides a description of the URL patterns for this servlet.
Serializable[] invokeAnnotatedMethods(Class<? extends Annotation> annotationToMatch, Serializable... arguments) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
annotationToMatch
- The annotation class used to annotate the methods.arguments
- The arguments used for methods call. If there are multiple methods
annotated by specified annotation, same arguments will be used for
each of these methods call.
IllegalAccessException
- if annotated method does not have public modifier
IllegalArgumentException
- if the type or number of the passed arguments do not match the
parameters of invoked method.
InvocationTargetException
- whenever the invoked method throws exception.
ClassCastException
- if annotated method's return object can't be serialized.
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |