james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: Phoenix upgraded.
Date Sat, 18 May 2002 05:41:21 GMT
Folks,

> b)  There is a way of generating xinfo files now.  Peter has made a 
> xdoclet type thing.

This is how you use it -> see javadoc tags.  This also show Serviceable 
which is a simple migration from Composable....

-ph

/**
 * This is the service through which ConnectionManagement occurs.
 *
 * @phoenix:service 
name="org.apache.avalon.cornerstone.services.connection.ConnectionManager"
 *
 * @author <a href="mailto:peter@apache.org">Peter Donald</a>
 */
public class DefaultConnectionManager
    extends AbstractLogEnabled
    implements Block, ConnectionManager, Serviceable, Disposable
{
    private HashMap m_connections = new HashMap();
    private ThreadManager m_threadManager;

    /**
     * @phoenix:dependency 
name="org.apache.avalon.cornerstone.services.threads.ThreadManager"
     */
    public void service( final ServiceManager serviceManager )
        throws ServiceException
    {
        m_threadManager = (ThreadManager)serviceManager.lookup( 
ThreadManager.ROLE );
    }



--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message