The Listener is now registered. When an event occurs, the corresponding Listener calls the appropriate method from the com.sun.star.container.XContainerListener Interface.
这样就注册了侦听器。当事件发生时，相应的侦听器将从 com.sun.star.container.XContainerListener 接口中调用适当的方法。