Regestration and Configuration
...
Apache Wink provides several methods for registering resources and providers. This chapter describes registration methods and Wink configuration options.
Simple Application
Apache Wink provides the "SimpleSymphonyApplication" class in order to support the loading of resources and providers through a simple text file that contains a list of fully qualified class names of the resource and provider classes. Each line contains a single fully qualified class name that is either a resource or a provider. Empty lines and lines that begin with a number sign (#) are permitted and ignored.
Code Block | ||||
---|---|---|---|---|
| ||||
# Providers
com.example.MyXmlProvider
com.example.MyJSONProvider
# Resources
com.example.FooResource
com.example.BarResource
|