examples.logging
Class HotSwapTarget
java.lang.Object
examples.logging.HotSwapTarget
- public class HotSwapTarget
- extends java.lang.Object
- Author:
| Method Summary |
private static void |
addPointcutForLoggingAdvice(java.lang.String pointcut, java.lang.String pointcutName)
A damned complicated API to - alter the def so that new weaving can be done - alter the internal aspect repr. |
int |
getCounter()
|
void |
increment()
|
static void |
main(java.lang.String[] args)
|
private static void |
removePointcutForLoggingAdvice(java.lang.String pointcut, java.lang.String pointcutName)
A damned complicated API to - alter the def so that pc is removed - alter the internal aspect repr. |
static void |
toLog1()
|
private void |
toLog2(java.lang.String arg)
|
private java.lang.String |
toLog3()
|
private java.lang.String |
toLog3(int a)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_counter1
private int m_counter1
-
m_counter2
private int m_counter2
-
HotSwapTarget
public HotSwapTarget()
getCounter
public int getCounter()
-
increment
public void increment()
-
toLog1
public static void toLog1()
-
toLog2
private void toLog2(java.lang.String arg)
-
toLog3
private java.lang.String toLog3()
-
toLog3
private java.lang.String toLog3(int a)
-
main
public static void main(java.lang.String[] args)
throws java.lang.Throwable
-
- Throws:
java.lang.Throwable
addPointcutForLoggingAdvice
private static void addPointcutForLoggingAdvice(java.lang.String pointcut,
java.lang.String pointcutName)
-
A damned complicated API to - alter the def so that new weaving can be done - alter the internal aspect repr. so that runtime management can occur Note: seems to have a redundancy on the pointcut somewhere. CRAP
-
- Parameters:
pointcut -
pointcutName -
removePointcutForLoggingAdvice
private static void removePointcutForLoggingAdvice(java.lang.String pointcut,
java.lang.String pointcutName)
-
A damned complicated API to - alter the def so that pc is removed - alter the internal aspect repr. so that pointcut struct is released (TODO)
-
- Parameters:
pointcut -
pointcutName -
Please see keelframework.org for information about new Keel releases.