org.apache.avalon.composition.data
Class ServiceDirective

java.lang.Object
  extended byorg.apache.avalon.meta.info.Descriptor
      extended byorg.apache.avalon.meta.info.ServiceDescriptor
          extended byorg.apache.avalon.composition.data.ServiceDirective
All Implemented Interfaces:
Serializable

public final class ServiceDirective
extends ServiceDescriptor

A ServiceDirective is a class that holds a reference to a published service together with a component implementation path reference, referencing the component implementing the service.

Version:
CVS $Revision: 1.1.1.1 $ $Date: 2003/08/31 14:27:04 $
Author:
Stephen McConnell
See Also:
Serialized Form

Constructor Summary
ServiceDirective(ServiceDescriptor descriptor, String path)
          Creation of a new service directive.
 
Method Summary
 String getPath()
          Return the virtual service component relative path.
 
Methods inherited from class org.apache.avalon.meta.info.ServiceDescriptor
equals, getReference, hashCode
 
Methods inherited from class org.apache.avalon.meta.info.Descriptor
getAttribute, getAttribute, getAttributeNames, getProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDirective

public ServiceDirective(ServiceDescriptor descriptor,
                        String path)
Creation of a new service directive.

Parameters:
descriptor - the published service
path - the relative path of the implementing component
Method Detail

getPath

public String getPath()
Return the virtual service component relative path.

Returns:
the relative component path


Copyright © Apache Software Foundation. All Rights Reserved.