org.apache.avalon.composition.model.impl
Class DefaultServiceModel
java.lang.Object
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServiceModel
public DefaultServiceModel(ServiceDirective directive,
Class clazz)
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.