org.jboss.aop.metadata
Class MethodConfig
java.lang.Object
org.jboss.aop.metadata.MethodConfig
public class MethodConfig
- extends Object
The combination of the method-permission, container-transaction
The method-permission element specifies that one or more security
roles are allowed to invoke one or more enterprise bean methods. The
method-permission element consists of an optional description, a list
of security role names, or an indicator to specify that the methods
are not to be checked for authorization, and a list of method elements.
The security roles used in the method-permission element must be
defined in the security-role element of the deployment descriptor,
and the methods must be methods defined in the enterprise bean���s component
and/or home interfaces.
- Version:
- $Revision: 70500 $
- Author:
- Sebastien Alborini, Scott Stark.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodConfig
public MethodConfig()
patternMatches
public boolean patternMatches(Method method)
patternMatches
public boolean patternMatches(javassist.CtMethod method)
throws javassist.NotFoundException
- Throws:
javassist.NotFoundException
importXml
public void importXml(Element element)
throws Exception
- Throws:
Exception
toGenericString
public static String toGenericString(Method method)
getSignature
public static String getSignature(Class<?>[] source)
getSignature
public static String getSignature(javassist.CtClass[] source)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.