The same way as all the other hooks. If it's wouldn't work with OSGi or JEE containers we never had the change to load anything ;-)