Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.webservice.jaf
Class JAFConfigService

    java.lang.Object
      org.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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