@Retention(value=RUNTIME) @Target(value=FIELD) public @interface ResourceComponentInstances
DiscoveredResources annotation but
provides the actual instances of the resource components of the discovered
resources.
The type of the field carrying this annotation is assumed to a be a Set
of the actual resource component type corresponding to the resource type
specified by this annotation.
I.e. if the resource type 'RT' in plugin 'P', defines the resource component to
be com.example.FooResourceComponent, the type of the field with this annotation
is assumed to be Set<com.example.FooResourceComponent>
| Modifier and Type | Required Element and Description |
|---|---|
String |
plugin |
String |
resourceType |
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.