Class org.as2lib.aop.joinpoint.PropertyJoinPoint

Implemented Interfaces

JoinPoint

Description

PropertyJoinPoint represents any type of access to a property, be it set or get access.

Method Index

new PropertyJoinPoint()
getInfo(), getType(), proceed(), snapshot(), update()

Constructor Detail

PropertyJoinPoint

public function PropertyJoinPoint(info:PropertyInfo, thiz)

Constructs a new PropertyJoinPoint instance.

Parameters

infothe property info of the represented property
thizthe logical this of the interception

Throws

IllegalArgumentExceptionif argument info is null or undefined

See Also

Method Detail

getInfo

public function getInfo(Void):TypeMemberInfo

Returns the info of the represented property. This is a PropertyInfo instance.

Return

the info of the represented property

Specified By

getInfo() in org.as2lib.aop.JoinPoint

proceed

public function proceed(args:Array)

Throws an unsupported operation exception because this method is not supported by an unspecified property access. Use the GetPropertyJoinPoint or SetPropertyJoinPoint classes if you want to be able to proceed a property join point.

Parameters

argsthe arguments to use for the procession

Return

the result of the procession

Throws

UnsupportedOperationException

Specified By

proceed() in org.as2lib.aop.JoinPoint

getType

public function getType(Void):Number

Returns this join point's type.

Return

AbstractJoinPoint#getType

Specified By

getType() in org.as2lib.aop.JoinPoint

update

public function update(thiz):JoinPoint

Returns a copy of this join point with an updated logical this. This join point is left unchanged.

Parameters

thizthe new logical this

Return

a copy of this join point with an updated logical this

Specified By

update() in org.as2lib.aop.JoinPoint

See Also

snapshot

public function snapshot(Void):JoinPoint

Returns a copy of this join point that reflects its current state.

It is common practice to create a new join point for a not-fixed method info. This is when the underlying concrete method this join point reflects may change. To make the concrete method and other parts that may change fixed you can use this method to get a new fixed join point, a snapshot.

Return

a snapshot of this join point

Specified By

snapshot() in org.as2lib.aop.JoinPoint