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

JAFConfigService (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档


org.jboss.webservice.jaf
Class JAFConfigService

java.lang.Object
  extended byorg.jboss.webservice.jaf.JAFConfigService

public class JAFConfigService
extends Object

A pojo service which can be used to populate the JAF MailcapCommandMap with mailcap content-type to DataContentHandler class. The default mailcaps are text/xml, application/xml mapping to org.jboss.webservice.jaf.XMLDataContentHandler

Version:
$Revision: 1.4 $
Author:
Scott.Stark@jboss.org
See Also:
DataContentHandler, MailcapCommandMap, XMLDataContentHandler

Constructor Summary
JAFConfigService()
           
 
Method Summary
 String[] getMailcaps()
           
 void setMailcaps(String[] mailcaps)
           
 void start()
          Register the mailcaps with the default MailcapCommandMap
 void stop()
          Do nothing since MailcapCommandMap does not support removal of mailcaps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAFConfigService

public JAFConfigService()
Method Detail

getMailcaps

public String[] getMailcaps()

setMailcaps

public void setMailcaps(String[] mailcaps)

start

public void start()
           throws Exception
Register the mailcaps with the default MailcapCommandMap

Throws:
Exception
See Also:
MailcapCommandMap

stop

public void stop()
          throws Exception
Do nothing since MailcapCommandMap does not support removal of mailcaps

Throws:
Exception


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