org.apache.avalon.composition.model.impl
Class DefaultServiceModel

java.lang.Object
  extended byorg.apache.avalon.composition.model.impl.DefaultServiceModel
All Implemented Interfaces:
ServiceModel

public class DefaultServiceModel
extends Object
implements ServiceModel

Service model exposes an exported service class.

Version:
$Revision: 1.1.4.1 $ $Date: 2004/01/12 06:22:53 $
Author:
Stephen McConnell

Constructor Summary
DefaultServiceModel(ServiceDirective directive, Class clazz)
           
 
Method Summary
 Class getServiceClass()
          Return the service class.
 ServiceDirective getServiceDirective()
          Return the service directive for the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceModel

public DefaultServiceModel(ServiceDirective directive,
                           Class clazz)
Method Detail

getServiceDirective

public ServiceDirective getServiceDirective()
Return the service directive for the model.

Specified by:
getServiceDirective in interface ServiceModel
Returns:
the directive declaring the service export

getServiceClass

public Class getServiceClass()
Return the service class.

Specified by:
getServiceClass in interface ServiceModel
Returns:
the service class


Copyright © Apache Software Foundation. All Rights Reserved.