org.jboss.aop.metadata
Class ConstructorConfig

java.lang.Object
  extended by org.jboss.aop.metadata.ConstructorConfig

public class ConstructorConfig
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.

Constructor Summary
ConstructorConfig()
           
 
Method Summary
 void importXml(Element element)
           
 boolean patternMatches(Constructor<?> constructor)
           
 boolean patternMatches(javassist.CtConstructor constructor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructorConfig

public ConstructorConfig()
Method Detail

patternMatches

public boolean patternMatches(Constructor<?> constructor)

patternMatches

public boolean patternMatches(javassist.CtConstructor constructor)
                       throws javassist.NotFoundException
Throws:
javassist.NotFoundException

importXml

public void importXml(Element element)
               throws Exception
Parameters:
a - method element
Throws:
Exception


Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.