* @param objectStore
*/
@SuppressWarnings("unchecked")
private void addContextsToApplicationScope()
{
ApplicationContext appContext = getContext(ApplicationContext.class);
ObjectStore store = appContext.getObjectStore();
for(Context context : contexts)
{
store.add((Class<Context>)context.getClass().getInterfaces()[0], context);
}