org.jboss.metadata.ejb.spec
Class ExcludeListMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions
          extended by org.jboss.metadata.ejb.spec.ExcludeListMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData

public class ExcludeListMetaData
extends IdMetaDataImplWithDescriptions

ExcludeListMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
ExcludeListMetaData()
          Create a new ExcludeListMetaData.
 
Method Summary
 ExcludeListMetaData clone()
           
 ExcludeListMetaData getExcludeListByEjbName(String ejbName)
          Get the exclude list for an ejb
 MethodsMetaData getMethods()
          Get the methods.
 boolean matches(String methodName, Class[] params, MethodInterfaceType interfaceType)
          Whether this matches
 void merge(ExcludeListMetaData override, ExcludeListMetaData original)
           
 void setMethods(MethodsMetaData methods)
          Set the methods.
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImplWithDescriptions
getDescriptions, merge, setDescriptions
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
equals, getId, hashCode, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludeListMetaData

public ExcludeListMetaData()
Create a new ExcludeListMetaData.

Method Detail

getMethods

public MethodsMetaData getMethods()
Get the methods.

Returns:
the methods.

setMethods

public void setMethods(MethodsMetaData methods)
Set the methods.

Parameters:
methods - the methods.
Throws:
IllegalArgumentException - for a null methods

matches

public boolean matches(String methodName,
                       Class[] params,
                       MethodInterfaceType interfaceType)
Whether this matches

Parameters:
methodName - the method name
params - the parameters
interfaceType - the interface type
Returns:
true when it matches

getExcludeListByEjbName

public ExcludeListMetaData getExcludeListByEjbName(String ejbName)
Get the exclude list for an ejb

Parameters:
ejbName - the ejb name
Returns:
the exclude list or null for no result
Throws:
IllegalArgumentException - for a null ejb name

clone

public ExcludeListMetaData clone()
Overrides:
clone in class IdMetaDataImpl

merge

public void merge(ExcludeListMetaData override,
                  ExcludeListMetaData original)


Copyright © 2009 JBoss Inc.. All Rights Reserved.