org.vraptor.config
Interface ConfigItem

All Known Implementing Classes:
ComponentConfig, ConverterConfig, PluginConfig, RegexViewManagerConfig

public interface ConfigItem

A configuration item.

Author:
Guilherme Silveira

Method Summary
 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
 

Method Detail

register

void register(WebApplication application)
              throws ConfigException
Registers itself in the web application

Parameters:
application - the application
Throws:
ConfigException - configuration exception

isComponent

boolean isComponent()
Returns true if this is a component, factory or converter

Returns:
true or false

isManager

boolean isManager()
Returns true if this is a manager configuration

Returns:
true or false


Copyright © 2004-2008 VRaptor. All Rights Reserved.