Class SpaceRemovalListenerService

java.lang.Object
fr.paris.lutece.plugins.document.service.spaces.SpaceRemovalListenerService

@Deprecated(since="8.0", forRemoval=true) public class SpaceRemovalListenerService extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
SpaceRemovalListenerService
  • Method Summary

    Modifier and Type
    Method
    Description
    static fr.paris.lutece.portal.service.util.RemovalListenerService
    Deprecated.
    since 8.0 — use CDI injection instead of this static method.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getService

      public static fr.paris.lutece.portal.service.util.RemovalListenerService getService()
      Deprecated.
      since 8.0 — use CDI injection instead of this static method.
      Returns the RemovalListenerService instance.

      This static accessor is deprecated and will be removed in a future release. Instead of calling this method directly, you should use CDI dependency injection to obtain an instance of RemovalListenerService.

      
       @Inject
       @Named("document.spaceRemovalService")
       private RemovalListenerService removalListenerService;
       
      Returns:
      the RemovalListenerService instance