We want to post Calendar events programmatically and not use the client hbs UI. We would like to know if there is a way we can call classes 'com.adobe.cq.social.commons.client.api.SocialComponentFactory' in our custom Java classes and deploy the bundle to OSGI.