apigee/usergrid-stack — pull request #21 by realbeast (2012-10-08 12:13:58+00:00)
Title: add extracted config file. because ServiceManager.packageprefixes is not elegance.

We try to add service. But, ServiceManager.findServiceClass method is finding class by prefix.
So we trying to separate config file(usergrid-config), because ServiceManager.packageprefixes is not elegance.

1. add config : usergrid-config > usergrid-default.properties
usergird.service.packages=com.usergrid.services;org.usergrid.services;baas.io

2. create service : baas.io.simle.SimpleService
3. finding service :
Service service = sm.getService("simple");

4. ServiceManager attempting to instantiate service class
Attempting to instantiate service class com.usergrid.services.simple.SimpleService
Attempting to instantiate service class org.usergrid.services.simple.SimpleService
Attempting to instantiate service class baas.io.simple.SimpleService