org.jboss.varia.deployment.convertor
Interface Convertor

All Known Implementing Classes:
WebLogicConvertor (src)

public interface Convertor

Defines the methods of a Converter


Method Summary
 boolean accepts(java.net.URL url)
          Checks if the a deployment unit can be converted to a JBoss deployment unit by this converter.
 void convert(DeploymentInfo (src)  di, java.io.File path)
          Converts the necessary files to make the given deployment deployable into the JBoss
 

Method Detail

accepts

public boolean accepts(java.net.URL url)
Checks if the a deployment unit can be converted to a JBoss deployment unit by this converter.

Parameters:
url - The url of the deployment unit to be converted
Returns:
True if this converter is able to convert

convert

public void convert(DeploymentInfo (src)  di,
                    java.io.File path)
             throws java.lang.Exception
Converts the necessary files to make the given deployment deployable into the JBoss

Parameters:
di - Deployment info to be converted
path - Path of the extracted deployment
Throws:
java.lang.Exception