org.jadetower.dao.impl
Class DaoServiceManager

java.lang.Object
  extended byorg.jadetower.dao.impl.DaoServiceManager
All Implemented Interfaces:
org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.service.ServiceManager

public class DaoServiceManager
extends java.lang.Object
implements org.apache.avalon.framework.service.ServiceManager, org.apache.avalon.framework.service.Serviceable

Avalon ServiceManager and PicoContainer Wrapper


Field Summary
protected  org.picocontainer.PicoContainer m_container
           
protected  org.apache.avalon.framework.service.ServiceManager m_parent
           
 
Constructor Summary
DaoServiceManager(org.apache.avalon.framework.service.ServiceManager parent, org.picocontainer.PicoContainer container)
           
 
Method Summary
 boolean hasService(java.lang.String name)
           
 java.lang.Object lookup(java.lang.String name)
           
 void release(java.lang.Object service)
           
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_parent

protected org.apache.avalon.framework.service.ServiceManager m_parent

m_container

protected org.picocontainer.PicoContainer m_container
Constructor Detail

DaoServiceManager

public DaoServiceManager(org.apache.avalon.framework.service.ServiceManager parent,
                         org.picocontainer.PicoContainer container)
Method Detail

lookup

public java.lang.Object lookup(java.lang.String name)
                        throws org.apache.avalon.framework.service.ServiceException
Specified by:
lookup in interface org.apache.avalon.framework.service.ServiceManager
Throws:
org.apache.avalon.framework.service.ServiceException

hasService

public boolean hasService(java.lang.String name)
Specified by:
hasService in interface org.apache.avalon.framework.service.ServiceManager

release

public void release(java.lang.Object service)
Specified by:
release in interface org.apache.avalon.framework.service.ServiceManager

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable


Copyright © 2003-2004 JadeTower. All Rights Reserved.