Interface ConfigurationBuilder
-
- All Known Implementing Classes:
AbstractConfigurationBuilder
,AbstractTomcatConfigurationBuilder
,JRun4xConfigurationBuilder
,OrionConfigurationBuilder
,Resin3xConfigurationBuilder
,Tomcat10x11xConfigurationBuilder
,Tomcat4xConfigurationBuilder
,Tomcat5x6x7xConfigurationBuilder
,Tomcat8x9xConfigurationBuilder
,WebLogic8xConfigurationBuilder
,WebLogic9x10x103x12xConfigurationBuilder
public interface ConfigurationBuilder
Builds String representations a Resource configuration. These may be JSON or XML or Properties that theContainer
will know what to do with.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
toConfigurationEntry(DataSource ds)
Detects the type of theDataSource
and creates an appropriate configuration.String
toConfigurationEntry(Resource resource)
Detects the type of theResource
and creates an appropriate configuration.
-
-
-
Method Detail
-
toConfigurationEntry
String toConfigurationEntry(Resource resource)
Detects the type of theResource
and creates an appropriate configuration.- Parameters:
resource
- the Resource you wish to build a configuration entry for.- Returns:
- the container-specific representation of this configuration.
-
toConfigurationEntry
String toConfigurationEntry(DataSource ds)
Detects the type of theDataSource
and creates an appropriate configuration.- Parameters:
ds
- the DataSource you wish to build a configuration entry for.- Returns:
- the container-specific representation of this configuration.
-
-