Author: dblevins
Date: Mon Nov 12 17:44:38 2012
New Revision: 1408371
URL: http://svn.apache.org/viewvc?rev=1408371&view=rev
Log:
jmx object name
Modified:
openejb/site/trunk/content/ejb-request-logging.mdtext
Modified: openejb/site/trunk/content/ejb-request-logging.mdtext
URL:
http://svn.apache.org/viewvc/openejb/site/trunk/content/ejb-request-logging.mdtext?rev=1408371&r1=1408370&r2=1408371&view=diff
==============================================================================
--- openejb/site/trunk/content/ejb-request-logging.mdtext (original)
+++ openejb/site/trunk/content/ejb-request-logging.mdtext Mon Nov 12 17:44:38
2012
@@ -15,6 +15,7 @@ Notice: Licensed to the Apache Softwa
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
+
Both client-side and server-side request logging is supported and includes
various invocation times aimed at helping to identify where time
is going in a request.
@@ -53,7 +54,11 @@ The container time and server time are w
The above information applies purely to remote EJB calls made over a network.
Calls on `@Remote` or `@Local` interfaces between two components in the same
server are not logged.
However, **all** EJB invocations to business methods *or* callbacks like
`@PostConstruct` are tracked for statistical analysis.
-By default a floating window of 2000 samples are kept. The time tracked is
purely **bean time** which includes interceptors, decorators and the bean
itself, but does not include other container services like transactions or
security. This information is available in JMX.
+By default a floating window of 2000 samples are kept. The time tracked is
purely **bean time** which includes
+interceptors, decorators and the bean itself, but does not include other
container services like transactions or security.
+This information is available in JMX. A sample JMX ObjectName for a
`CounterBean` will look like this:
+
+
openejb.management:J2EEServer=openejb,J2EEApplication=null,EJBModule=StatsModule,StatelessSessionBean=CounterBean,j2eeType=Invocations,name=CounterBean
All beans have the following MBean attributes, listed here in shorthand:
@@ -86,4 +91,3 @@ Then for every method there will be thes
* javax.management.MBeanOperationInfo[description=,
name=someMethod().setSampleSize, returnType=void,
signature=[javax.management.MBeanParameterInfo[description=, name=p1, type=int,
descriptor={}]], impact=unknown, descriptor={}]
* javax.management.MBeanOperationInfo[description=,
name=someMethod().sortedValues, returnType=[D, signature=[], impact=unknown,
descriptor={}]
* javax.management.MBeanOperationInfo[description=, name=someMethod().values,
returnType=[D, signature=[], impact=unknown, descriptor={}]
-