|
||||||||||
| 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 StackTraceElement[] |
cleanupStackTrace(StackTraceElement[] stackTrace)
Cleanup the stack trace elements to ave the right stack. |
protected long |
getNextSeqNumber()
|
ObjectName |
getObjectName(String domain)
|
Object |
intercept(org.ow2.carol.jndi.intercept.InterceptionContext context)
Intercept every JNDI call. |
void |
setBroadcaster(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 Object intercept(org.ow2.carol.jndi.intercept.InterceptionContext context)
throws Exception
intercept in interface org.ow2.carol.jndi.intercept.ContextInterceptorcontext - the interception context with data
Exception - if interception failsprotected static StackTraceElement[] cleanupStackTrace(StackTraceElement[] stackTrace)
stackTrace - the given stack
public ObjectName getObjectName(String domain)
getObjectName in class AbsContextInterceptordomain - the domain name of the JMX Server.
public void setBroadcaster(ModelMBeanNotificationBroadcaster broadcaster)
broadcaster - the given objectprotected long getNextSeqNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||