org.objectweb.easybeans.deployment
Class Deployment

java.lang.Object
  extended by org.objectweb.easybeans.deployment.Deployment

public class Deployment
extends java.lang.Object

This class will parse given ejb-jar file and completes metadata by using resolver.

Author:
Florent Benoit

Field Summary
private  AnnotationDeploymentAnalyzer annotationDeploymentAnalyzer
          Annotation deployment analyzer.
private  java.io.File archive
          Archive which will be analyzed.
private static JLog logger
          Logger.
 
Constructor Summary
Deployment(java.io.File archive)
          Constructor.
Archive which will be used when analyzing.
 
Method Summary
 void analyze()
          Analyzes the jarFile.
 AnnotationDeploymentAnalyzer getAnnotationDeploymentAnalyzer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static JLog logger
Logger.


archive

private java.io.File archive
Archive which will be analyzed.


annotationDeploymentAnalyzer

private AnnotationDeploymentAnalyzer annotationDeploymentAnalyzer
Annotation deployment analyzer.

Constructor Detail

Deployment

public Deployment(java.io.File archive)
Constructor.
Archive which will be used when analyzing.

Parameters:
archive - the archive to analyze.
Method Detail

analyze

public void analyze()
             throws AnalyzerException,
                    ResolverException
Analyzes the jarFile.

Throws:
AnalyzerException - if analyze of jar file fails.
ResolverException - if resolver fails.

getAnnotationDeploymentAnalyzer

public AnnotationDeploymentAnalyzer getAnnotationDeploymentAnalyzer()
Returns:
annotation deployment analyzer