org.ow2.util.ee.metadata.ejbjar.api
Interface IEjbJarDeployableMetadata<E extends org.ow2.util.ee.deploy.api.deployable.EJBDeployable<E>>

Type Parameters:
E - deployable type
All Superinterfaces:
org.ow2.util.ee.deploy.api.deployable.metadata.IDeployableMetadata<E>

public interface IEjbJarDeployableMetadata<E extends org.ow2.util.ee.deploy.api.deployable.EJBDeployable<E>>
extends org.ow2.util.ee.deploy.api.deployable.metadata.IDeployableMetadata<E>

IEjbJarDeployableMetadata.

Author:
Gael Lalire

Method Summary
 void addEjbJarClassMetadata(IEjbJarClassMetadata<E> classAnnotationMetadata)
          Add annotation metadata for a given class.
 java.util.Map<java.lang.String,javax.ejb.ApplicationException> getApplicationExceptions()
          Gets the list of application exceptions defined on this ejb jar metadata.
 org.ow2.util.ee.metadata.common.api.struct.IJInterceptors getDefaultInterceptorsClasses()
           
 IEjbJarClassMetadata<E> getEjbJarClassMetadata(java.lang.String className)
          Get class annotation metadata.
 java.util.Collection<IEjbJarClassMetadata<E>> getEjbJarClassMetadataCollection()
          Get collections of bean annotation metadata.
 IEjbJarClassMetadata<E> getEjbJarClassMetadataForEjbName(java.lang.String ejbName)
          Gets the class metadata for the given ejb-name.
 void setDefaultInterceptorsClasses(org.ow2.util.ee.metadata.common.api.struct.IJInterceptors defaultInterceptorsClasses)
          Sets the object representing the default interceptor classes.
 
Methods inherited from interface org.ow2.util.ee.deploy.api.deployable.metadata.IDeployableMetadata
getDeployable
 

Method Detail

addEjbJarClassMetadata

void addEjbJarClassMetadata(IEjbJarClassMetadata<E> classAnnotationMetadata)
Add annotation metadata for a given class.

Parameters:
classAnnotationMetadata - annotation metadata of a class.

getEjbJarClassMetadataForEjbName

IEjbJarClassMetadata<E> getEjbJarClassMetadataForEjbName(java.lang.String ejbName)
Gets the class metadata for the given ejb-name.

Parameters:
ejbName - the name of the EJB.
Returns:
class metadata or null if not found

getEjbJarClassMetadata

IEjbJarClassMetadata<E> getEjbJarClassMetadata(java.lang.String className)
Get class annotation metadata.

Parameters:
className - key of the map of annotations bean.
Returns:
Bean annotation metadata of a given name or null if class not found.

getEjbJarClassMetadataCollection

java.util.Collection<IEjbJarClassMetadata<E>> getEjbJarClassMetadataCollection()
Get collections of bean annotation metadata.

Returns:
collections of bean annotation metadata.

getApplicationExceptions

java.util.Map<java.lang.String,javax.ejb.ApplicationException> getApplicationExceptions()
Gets the list of application exceptions defined on this ejb jar metadata.

Returns:
the list of application exceptions defined on this ejb jar metadata.

getDefaultInterceptorsClasses

org.ow2.util.ee.metadata.common.api.struct.IJInterceptors getDefaultInterceptorsClasses()
Returns:
object representing list of default interceptor classes.

setDefaultInterceptorsClasses

void setDefaultInterceptorsClasses(org.ow2.util.ee.metadata.common.api.struct.IJInterceptors defaultInterceptorsClasses)
Sets the object representing the default interceptor classes.

Parameters:
defaultInterceptorsClasses - list of classes


Copyright © 2007-2008 OW2 Consortium. All Rights Reserved.