org.apache.avalon.lifecycle
Class AbstractCreator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.lifecycle.AbstractCreator
- All Implemented Interfaces:
- LogEnabled, Creator
public class AbstractCreator
- extends AbstractLogEnabled
- implements Creator
Abstract implementation of a Creator.
- Author:
- Avalon Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCreator
public AbstractCreator()
create
public void create(Object object,
Context context)
throws Exception
- Create stage handler.
- Specified by:
create in interface Creator
- Parameters:
object - the object that is being createdcontext - the context instance required by the create handler
implementation
- Throws:
Exception - if an error occurs
destroy
public void destroy(Object object,
Context context)
- Destroy stage handler.
- Specified by:
destroy in interface Creator
- Parameters:
object - the object that is being destroyedcontext - the context instance required by the handler
implementation
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.