crafterm 2002/08/29 04:02:37
Modified: container/src/xdocs extension.xml
Log:
Various documentation updates due to recent lifecycle extension changes
in Fortress.
Revision Changes Path
1.3 +10 -6 jakarta-avalon-excalibur/container/src/xdocs/extension.xml
Index: extension.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/container/src/xdocs/extension.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- extension.xml 27 Aug 2002 14:32:25 -0000 1.2
+++ extension.xml 29 Aug 2002 11:02:37 -0000 1.3
@@ -103,10 +103,14 @@
create, destroy, access and relase operations.
</p>
- <li>Register your extension object - this depedends on the container you are
using. In
+ <li>Register your extension object</li>
+
+ <p>
+ This depends on the container you are using. In
Merlin you need to include the <extensions> tag in the component
.xinfo file and
Merlin will automatically recognize it. In Fortress you register the
extension object
- with a <code>LifecycleExtensionManager</code></li>
+ with a <code>LifecycleExtensionManager</code>
+ </p>
<li>Implement the new component interface on your component</li>
@@ -308,7 +312,7 @@
<p>
Next we define the actual extension implementation which invokes the
<code>secure()</code>
- method. We extend from <code>AbstractLifecycleExtension</code> since we only
want
+ method. We extend from <code>AbstractAccessor</code> since we only want
<code>secure()</code> to be invoked upon each access (ie. lookup()) to the
component, and
don't need to implement the other 3 LifecycleExtension methods (create,
release, and
destroy).
@@ -319,7 +323,7 @@
* Some custom extensions for this container's components.
*/
public class Extensions
- extends AbstractLifecycleExtension
+ extends AbstractAccessor
{
/**
* Access, called when the given component is being
@@ -368,7 +372,7 @@
* Simple container that includes custom lifecycle extensions.
*/
public final class ExtendedContainer
- extends AbstractContainer
+ extends DefaultContainer
{
public void initialize()
throws Exception
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>