directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Closed: (DIREVE-160) Make CoreContextFactory more extensible
Date Mon, 13 Jun 2005 03:25:50 GMT
     [ http://issues.apache.org/jira/browse/DIREVE-160?page=all ]
     
Trustin Lee closed DIREVE-160:
------------------------------

    Resolution: Fixed

I added AbstractContextFactory that provides hook methods:

* beforeStartup( ContextFactoryContext )
* afterStartup( ContextFactoryContext )
* beforeShutdown( ContextFactoryContext )
* afterShutdown( ContextFactoryContext )
* beforeSync( ContextFactoryContext )
* afterSync( ContextFactoryContext )

CoreContextFactory now extends AbstractContextFactory with empty hook methods.  You can extend
AbstractContextFactory and implement these hook methods.

> Make CoreContextFactory more extensible
> ---------------------------------------
>
>          Key: DIREVE-160
>          URL: http://issues.apache.org/jira/browse/DIREVE-160
>      Project: Directory Server
>         Type: Improvement
>   Components: jndi-provider
>     Versions: 0.8, 0.9
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>      Fix For: 0.9.1

>
> For now, we override existing methods to extend CoreContextFactory, but it is not actually
safe way to extend it.  We could use template method pattern so that users implement only
template methods to extend CoreContextFactory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message