|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Attributes interface represents a store of attributes. Attributes can be associated
with Class, Field, Method or a parameter of Method
and can be defined for ServiceEndpoint, ServiceInstance and
ServiceClient.
| Method Summary | |
java.util.Map |
get(java.lang.Class clazz)
Retrieves attributes associated with the clazz. |
java.util.Map |
get(java.lang.reflect.Field field)
Retrieves attributes associated with the field |
java.util.Map |
get(java.lang.reflect.Method method)
Retrieves attributes associated with the method |
java.util.Map |
get(java.lang.reflect.Method method,
int parameter)
Retrieves attributes associated with the method and parameter. |
void |
set(java.lang.Class clazz,
java.util.Map attributes)
Sets attributes on given clazz. |
void |
set(java.lang.reflect.Field field,
java.util.Map attributes)
Set attributes on given field. |
void |
set(java.lang.reflect.Method method,
int parameter,
java.util.Map attributes)
Sets attributes on given method and parameter. |
void |
set(java.lang.reflect.Method method,
java.util.Map attributes)
Sets attributes on given method. |
| Method Detail |
public java.util.Map get(java.lang.Class clazz)
clazz.
clazz - class to get attributes
clazz or null
if any attributes were no setpublic java.util.Map get(java.lang.reflect.Field field)
field
field - field to get attributes
field or null
if any attributes were no setpublic java.util.Map get(java.lang.reflect.Method method)
method
method - method to get attributes
method or null
if any attributes were no set
public java.util.Map get(java.lang.reflect.Method method,
int parameter)
method and parameter.
Parameter represents position in parameter list. Zero denotes the first parameter, negative
value denotes return type.
method - method to get attributes for given parameterparameter - parameter of method to get attributes
method and parameter
public void set(java.lang.Class clazz,
java.util.Map attributes)
clazz.
clazz - class to set attributesattributes - attributes set on clazz
public void set(java.lang.reflect.Field field,
java.util.Map attributes)
field.
field - field to set attributesattributes - attributes set on clazz
public void set(java.lang.reflect.Method method,
java.util.Map attributes)
method.
method - method to set attributesattributes - attributes set on method
public void set(java.lang.reflect.Method method,
int parameter,
java.util.Map attributes)
method and parameter.
Zero value of parameter denotes the first parameter of mathod, negative value
denotes return type of method.
method - method to set attributesparameter - parameter position to set parameterattributes - attributes set on given method and parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||