org.vraptor.config
Class ConverterConfig

java.lang.Object
  extended by org.vraptor.config.ConverterConfig
All Implemented Interfaces:
ConfigItem

public class ConverterConfig
extends Object
implements ConfigItem

Models the xml portion to deal with component classes.

Author:
Guilherme Silveira

Constructor Summary
ConverterConfig(Class<T> clazz)
           
 
Method Summary
 Class<?> getConverterClass()
           
 boolean isComponent()
          Returns true if this is a component, factory or converter
 boolean isManager()
          Returns true if this is a manager configuration
 void register(WebApplication application)
          Registers itself in the web application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterConfig

public ConverterConfig(Class<T> clazz)
Method Detail

getConverterClass

public Class<?> getConverterClass()

register

public void register(WebApplication application)
              throws ConfigException
Description copied from interface: ConfigItem
Registers itself in the web application

Specified by:
register in interface ConfigItem
Parameters:
application - the application
Throws:
ConfigException - configuration exception

isComponent

public boolean isComponent()
Description copied from interface: ConfigItem
Returns true if this is a component, factory or converter

Specified by:
isComponent in interface ConfigItem
Returns:
true or false

isManager

public boolean isManager()
Description copied from interface: ConfigItem
Returns true if this is a manager configuration

Specified by:
isManager in interface ConfigItem
Returns:
true or false


Copyright © 2004-2008 VRaptor. All Rights Reserved.