View Javadoc

    1   package org.codehaus.xfire.plexus;
    2
    3   import org.codehaus.plexus.logging.AbstractLogEnabled;
    4   import org.codehaus.plexus.personality.plexus.lifecycle.phase.ServiceLocator;
    5   import org.codehaus.plexus.personality.plexus.lifecycle.phase.Serviceable;
    6
    7   /***
    8    * Basic support methods for plexus XFire components.
    9    *
    10   * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
    11   */
    12  public class PlexusXFireComponent
    13  	extends AbstractLogEnabled
    14  	implements Serviceable
    15  {
    16      private ServiceLocator manager;
    17
    18      public void service( ServiceLocator manager )
    19      {
    20          this.manager = manager;
    21      }
    22
    23      /***
    24       * @return Returns the service manager.
    25       */
    26      protected ServiceLocator getServiceLocator()
    27      {
    28          return manager;
    29      }
    30  }