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.6 $ $Date: 2004/02/24 22:18:22 $
Author:
Avalon Development Team

Constructor Summary
DefaultServiceModel(ServiceDirective directive, Class clazz, DeploymentModel provider)
           
 
Method Summary
 Class getServiceClass()
          Return the service class.
 ServiceDirective getServiceDirective()
          Return the service directive for the model.
 DeploymentModel getServiceProvider()
          Return the service provider.
 
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,
                           DeploymentModel provider)
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

getServiceProvider

public DeploymentModel getServiceProvider()
Return the service provider.

Specified by:
getServiceProvider in interface ServiceModel
Returns:
the model identifying the provider implementation


Copyright © The Apache Software Foundation. All Rights Reserved.