|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.jndi.interceptors.impl.AbsContextInterceptor
org.ow2.jonas.jndi.interceptors.impl.audit.AuditSystemContextInterceptor
public class AuditSystemContextInterceptor
Context interceptor for JNDI calls.
| Constructor Summary | |
|---|---|
AuditSystemContextInterceptor()
Default constructor. |
|
| Method Summary | |
|---|---|
protected static java.lang.StackTraceElement[] |
cleanupStackTrace(java.lang.StackTraceElement[] stackTrace)
Cleanup the stack trace elements to ave the right stack. |
protected long |
getNextSeqNumber()
|
javax.management.ObjectName |
getObjectName(java.lang.String domain)
|
java.lang.Object |
intercept(org.ow2.carol.jndi.intercept.InterceptionContext context)
Intercept every JNDI call. |
void |
setBroadcaster(javax.management.modelmbean.ModelMBeanNotificationBroadcaster broadcaster)
Sets the given broadcaster in order to send notification. |
| Methods inherited from class org.ow2.jonas.jndi.interceptors.impl.AbsContextInterceptor |
|---|
filterOnJndiName, filterOnMethodName, getJndiRegexp, getMethodsRegexp, getResourceCheckerManager, setJndiRegexp, setMethodsRegexp, setResourceCheckerManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuditSystemContextInterceptor()
| Method Detail |
|---|
public java.lang.Object intercept(org.ow2.carol.jndi.intercept.InterceptionContext context)
throws java.lang.Exception
intercept in interface org.ow2.carol.jndi.intercept.ContextInterceptorcontext - the interception context with data
java.lang.Exception - if interception failsprotected static java.lang.StackTraceElement[] cleanupStackTrace(java.lang.StackTraceElement[] stackTrace)
stackTrace - the given stack
public javax.management.ObjectName getObjectName(java.lang.String domain)
getObjectName in class AbsContextInterceptordomain - the domain name of the JMX Server.
public void setBroadcaster(javax.management.modelmbean.ModelMBeanNotificationBroadcaster broadcaster)
broadcaster - the given objectprotected long getNextSeqNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||