commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiruta Vitaly <>
Subject commons attribures: Inheritable
Date Thu, 31 Mar 2005 13:34:29 GMT
Hi all,

I've got a question about the usage of 

I specify an attribute for the method in interface and 
I want that attribute to apply to the method in the implementing 

For example:
interface ISome {
    /** @@Permission("WRITE") */
    void someMethod();

class CSome {
    public void someMethod() {

Now when I call Attributes.getAttribute() for CSome.someMethod I 
expect it to return permission attribute specified in  ISome. Is it 
achievable with org.apache.commons.attributes.Inheritable ?
I made my Permission class (which represents attribute) to extend 
Inheritable but it didn't work.

Any help would be appreciated.

Удиви друга! Признайся в любви подруге! Поздравь Boss'а
с уходом на пенсию!
Сделай это на главном экране столицы на Октябрьской

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message