|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.samples.petclinic.aspects.UsageLogAspect
public class UsageLogAspect
Sample AspectJ annotation-style aspect that saves every owner name requested to the clinic.
Constructor Summary | |
---|---|
UsageLogAspect()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getNamesRequested()
|
void |
logNameRequest(java.lang.String name)
|
void |
setHistorySize(int historySize)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UsageLogAspect()
Method Detail |
---|
public void setHistorySize(int historySize)
public void logNameRequest(java.lang.String name)
public java.util.List<java.lang.String> getNamesRequested()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |