| AnnotatedSecuredPOJO.java |
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.test.aop.bean;
/**
* @@org.jboss.aspects.security.SecurityDomain ("other")
*
* @author <a href="mailto:bill@jboss.org">Bill Burke</a>
* @version $Revision: 1.1 $
*/
public class AnnotatedSecuredPOJO
{
/**
* @@org.jboss.aspects.security.Permissions ({"allowed"})
*/
public int someField;
/**
* @@org.jboss.aspects.security.Exclude
*/
public String excludedField;
/**
* @@org.jboss.aspects.security.Unchecked
*/
public long uncheckedField;
/**
* @@org.jboss.aspects.security.Unchecked
*/
public AnnotatedSecuredPOJO()
{
}
/**
* @@org.jboss.aspects.security.Permissions ({"allowed"})
*/
public AnnotatedSecuredPOJO(int field)
{
someField = field;
}
/**
* @@org.jboss.aspects.security.Exclude
*/
public AnnotatedSecuredPOJO(String field) {}
/**
* @@org.jboss.aspects.security.Unchecked
*/
public void unchecked() {}
/**
* @@org.jboss.aspects.security.Permissions ({"allowed"})
*/
public void someMethod() {}
/**
* @@org.jboss.aspects.security.Exclude
*/
public void excluded() {}
}
| AnnotatedSecuredPOJO.java |