Changed accesspointmonitor so that it uses a Spring factory to create
PollingContext instances. This should make it easier to do annotation-based
transactions in the APM.