org.ow2.util.ee.deploy.api.deployable.metadata
Interface IDeployableMetadataFactory<E extends IDeployable<E>,Z extends IDeployableMetadata<E>>
- Type Parameters:
E - deployable typeZ - metadata type
public interface IDeployableMetadataFactory<E extends IDeployable<E>,Z extends IDeployableMetadata<E>>
Interface of a deployable metadata factory.
- Author:
- Gael Lalire
CLASS_SUFFIX
static final String CLASS_SUFFIX
- Class suffix.
- See Also:
- Constant Field Values
createDeployableMetadata
Z createDeployableMetadata(E deployable)
throws DeployableMetadataException
- Parameters:
deployable - the deployable
- Returns:
- the deployable metadata
- Throws:
DeployableMetadataException - if metadata can not be created
createDeployableMetadata
Z createDeployableMetadata(E deployable,
ClassLoader classLoader)
throws DeployableMetadataException
- Parameters:
deployable - the deployableclassLoader - a classloader to use if a class is not in archive
- Returns:
- the deployable metadata
- Throws:
DeployableMetadataException - if metadata can not be created
getDeployableMetadataClass
Class<Z> getDeployableMetadataClass()
- Returns:
- the class returned by creation of metadata (eg : EJB3DeployableMetadata.class)
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.