|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maintainj.aspect.StackJoinPoint
public class StackJoinPoint
Implementation for ISequenceJoinPoint.
Constructor Summary | |
---|---|
StackJoinPoint(long jpIndex,
boolean isReturnCall,
CallSignature signature,
java.lang.String thisClass,
java.lang.String targetClass,
java.lang.String kind,
int hashCode,
int stackHashcode,
java.lang.String threadId,
int lineNumber,
java.lang.String withinType)
StackJoinPoint constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns true if the given join point object is equal to this join point. |
CallSignature |
getCallSignature()
Returns CallSignature for this join point |
long |
getEndTime()
End time of this method call as returned by System.currentTimeMillis() |
int |
getLineNumber()
|
ISequenceJoinPoint |
getMatchingJoinPoint()
Returns the matching join point. |
long |
getResponseTime()
Returns the response time of this method in milliseconds. |
java.lang.String |
getSourceLocation()
The source file name and the line number where this call originates. |
long |
getStartTime()
Start time of this method call as returned by System.currentTimeMillis() |
java.lang.String |
getTargetClass()
Target class name |
java.lang.String |
getThisClass()
Source class name |
java.lang.String |
getWithinType()
The name of the class where this method is defined. |
int |
hashCode()
This number is same for both normal and return calls and is unique in join point list. |
boolean |
isReturnCall()
Returns true if this is a return call |
boolean |
isSelfCall()
Returns true if this join point is for a self call. |
void |
setEndTime(long endTime)
|
void |
setMatchingJoinPoint(ISequenceJoinPoint match)
|
void |
setReturnCall(boolean isReturnCall)
|
void |
setStartTime(long startTime)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StackJoinPoint(long jpIndex, boolean isReturnCall, CallSignature signature, java.lang.String thisClass, java.lang.String targetClass, java.lang.String kind, int hashCode, int stackHashcode, java.lang.String threadId, int lineNumber, java.lang.String withinType)
jpIndex
- Not used. Pass zeroisReturnCall
- true if this is a return call, false for the normal callsignature
- CallSignature for this join pointthisClass
- source class name with packagetargetClass
- target class name with packagekind
- Not used. pass empty StringhashCode
- hashCode for this join point. This should be same for both forward and
return calls. This should be unique in the join point list.stackHashcode
- Not Used. Pass zero.threadId
- Not used. Pass empty string.lineNumber
- Line number in the source file where this method is defined.withinType
- The name of the class where this method is defined. When
a method defined in super class is called by a sub-class instance, this
field should have the super class name.Method Detail |
---|
public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public final CallSignature getCallSignature()
getCallSignature
in interface ISequenceJoinPoint
public long getEndTime()
ISequenceJoinPoint
getEndTime
in interface ISequenceJoinPoint
public int getLineNumber()
public ISequenceJoinPoint getMatchingJoinPoint()
ISequenceJoinPoint
getMatchingJoinPoint
in interface ISequenceJoinPoint
public long getResponseTime()
ISequenceJoinPoint
getResponseTime
in interface ISequenceJoinPoint
public java.lang.String getSourceLocation()
getSourceLocation
in interface ISequenceJoinPoint
public long getStartTime()
ISequenceJoinPoint
getStartTime
in interface ISequenceJoinPoint
public final java.lang.String getTargetClass()
getTargetClass
in interface ISequenceJoinPoint
public final java.lang.String getThisClass()
getThisClass
in interface ISequenceJoinPoint
public final java.lang.String getWithinType()
getWithinType
in interface ISequenceJoinPoint
public final int hashCode()
hashCode
in interface ISequenceJoinPoint
hashCode
in class java.lang.Object
public final boolean isReturnCall()
ISequenceJoinPoint
isReturnCall
in interface ISequenceJoinPoint
public final boolean isSelfCall()
isSelfCall
in interface ISequenceJoinPoint
public void setEndTime(long endTime)
public void setMatchingJoinPoint(ISequenceJoinPoint match)
public final void setReturnCall(boolean isReturnCall)
public void setStartTime(long startTime)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |