org.vraptor.config
Class ComponentConfig

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

public class ComponentConfig
extends Object
implements ConfigItem

Models the xml portion to deal with component classes.

Author:
Guilherme Silveira

Constructor Summary
ComponentConfig(String typeName)
           
 
Method Summary
 String getTypeName()
           
 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

ComponentConfig

public ComponentConfig(String typeName)
Method Detail

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

getTypeName

public String getTypeName()


Copyright © 2004-2008 VRaptor. All Rights Reserved.