|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.config.PluginConfig
public class PluginConfig
Models the xml portion to deal with factory classes.
| Constructor Summary | |
|---|---|
PluginConfig(Class<?> type,
Map<String,String> properties)
|
|
| Method Summary | |
|---|---|
Class<?> |
getPluginClass()
|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginConfig(Class<?> type,
Map<String,String> properties)
| Method Detail |
|---|
public Class<?> getPluginClass()
public void register(WebApplication application)
throws ConfigException
register in interface ConfigItemapplication - the application
ConfigException - configuration exceptionorg.vraptor.config.ConfigItem#register(org.vraptor.webapp.DefaultWebApplication)public boolean isComponent()
ConfigItem
isComponent in interface ConfigItemConfigItem.isComponent()public boolean isManager()
ConfigItem
isManager in interface ConfigItemConfigItem.isManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||