How to use Landmark in a Class outside the Parsley Context
Hi all,
Is there anyway to get the Landmark metadata work without adding the annotated Class in the Parsley Context file?
I mean, I have a Class such as:
[Landmark(name="content.foo")]
public class MyClass extends ManagedClass {
[Enter(time="every")]
public function enter():void
{
LOG.info("content.foo:Enter");
}
}
Problem:
Enter method is never fired although ManagedClass( the super class ) has a <parsley:Configure /> tag ( and, of course, all injections happen ).
Adding MyClass to the Parsley Context file makes everything work but is there anyway to make this Landmark work without doing that?
Thanks.
