Developing a custom-state bundle requires that you declare each state as a Spring
Framework bean in the beans-context.xml file. A state is any Java class
that either directly or indirectly extends the SmappStatePlugin abstract
class.
The bean properties file, properties-context.xml, declares all
properties that must be retrieved from the OSGi configuration administration service during
runtime; properties are stored in the service so they can be configured dynamically at
runtime.