[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] using @declaredParents for annotations
|
- From: "Ramnivas Laddad" <ramnivas@xxxxxxxxxxxxxxx>
- Date: Thu, 11 Dec 2008 23:05:01 -0500
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=+3MhZCRBFnV8dxWzc9ak49hsfIjwiM3lZHXuBdcdVyI=; b=k8F8u3R9EG5T9KktKscZ4ox8AUZVLpSdn4LKF0FKm60IhH0p6FcpjQu+cK5YamVR2v Ru2eJ/r2G2uC21Zhy0dKoFMKSixPJSQYhvfN1TrOEyLwtIIUJRizCmf6WWRJk6je8MjM ZDq2p8Mf4CnVlWN/Klh7sRSUmTWRjhPJgYik8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=WpWHmC9X8GpvYwkffO2eF3rd3C0ZlheKZe7ICV+9K1IoZ1U0ZijZYGXPUR/+xvmR2z 1lRzT/++fHKC7egQwM/flXR1lovighfdkL3c9VCIYGI8FfNdL+d7kvV8ooPMXuxtu4Z3 +Z4g88lBHUoNDN1VgHKor1Ih2i6jgBOVi2/BE=
On Thu, Dec 11, 2008 at 10:12 PM, miro <miroconnect@xxxxxxxxx> wrote:
>
> I want to use @decalredParents for an annotation
>
> my aspect
>
> @DeclareParents("@annotation(gov.hhs.acf.aop.aspects.WorkflowAware)",
> defaultImpl=DefaultWorkflowMetaData.class)
> public static WorkflowMetaData workflowMetaData1;
>
@DeclareParents(value="@gov.hhs.acf.aop.aspects.WorkflowAware *",
defaultImpl=DefaultWorkflowMetaData.class)
public static WorkflowMetaData workflowMetaData1;
>
> @Target(ElementType.TYPE)
> @Retention(RetentionPolicy.CLASS)
> public @interface WorkflowAware {
>
> }
>
> what I want is all classes which have WorkflowAware annotaton should
> implement WorkflowMetaData please help me write the proper syntax
>
>
>
> @DeclareParents(value="gov.hhs.acf.web.pages.auditprog.*",
> defaultImpl=DefaultWorkflowMetaData.class)
> public static WorkflowMetaData workflowMetaData;
This looks fine.
>
>
> this works for me can I add to this all classes with annotation
> WorkflowAware ?
>
> --
> View this message in context: http://www.nabble.com/using-%40declaredParents--for-annotations-tp20969256p20969256.html
> Sent from the AspectJ - users mailing list archive at Nabble.com.
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>