I'm interested in migrating our current services framework which is based on IBM WebSphere PortletServices concept. Basically all services implement the PortletServiceProvider interface which implements two lifecycle methods:
I see from the reference guide how to add a normal no-args init method, but what would I need to do to add the init method listed above?
Also, in our model our services descriptor supports a <load-on-startup>true/false</load-on-startup> setting. basically this allows the service factory to either init() the service at load time if true or only when the service is first accessed if false (corresponding to factory.getBean(...) in Spring). How can I continue to support this?