站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

Convertor (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.varia.deployment.convertor
Interface Convertor

All Known Implementing Classes:
WebLogicConvertor

public interface Convertor

Defines the methods of a Converter

Version:
$Revision: 1.4 $

20020519 Andreas Schaefer:

  • Creation
Author:
Andreas Schaefer

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

Method Detail

accepts

public boolean accepts(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(org.jboss.deployment.DeploymentInfo di,
                    File path)
             throws 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:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.