Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
That's more of a Parsley question than C3 and AFAIK it's not feasable. The other way around is with i.e. the ProcessSuperclass object definition in Parsley. Check out Parsley's developer manual on that (chapter 3 should explain this)