|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.observation.RepositoryEventFactory
public class RepositoryEventFactory
Factory to create repository events.
Constructor Summary | |
---|---|
RepositoryEventFactory()
|
Method Summary | |
---|---|
static RepositoryEvent |
createEvent(org.apache.avalon.framework.service.ServiceManager manager,
Document doc,
org.apache.avalon.framework.logger.Logger logger,
java.lang.Object descriptor)
Creates a repository event for a node. |
static RepositoryEvent |
createEvent(org.apache.avalon.framework.service.ServiceManager manager,
Node node,
org.apache.avalon.framework.logger.Logger logger,
java.lang.Object descriptor)
Creates a repository event for a node. |
static RepositoryEvent |
createEvent(org.apache.avalon.framework.service.ServiceManager manager,
Session session,
org.apache.avalon.framework.logger.Logger logger,
java.lang.Object descriptor)
Creates a repository event for a node. |
protected static Document |
getDocument(org.apache.avalon.framework.service.ServiceManager manager,
Node node,
org.apache.avalon.framework.logger.Logger logger)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryEventFactory()
Method Detail |
---|
public static final RepositoryEvent createEvent(org.apache.avalon.framework.service.ServiceManager manager, Session session, org.apache.avalon.framework.logger.Logger logger, java.lang.Object descriptor)
manager
- The service manager.session
- The session.logger
- The logger.descriptor
- The descriptor.
public static final RepositoryEvent createEvent(org.apache.avalon.framework.service.ServiceManager manager, Document doc, org.apache.avalon.framework.logger.Logger logger, java.lang.Object descriptor)
manager
- The service manager.doc
- The document.logger
- The logger.descriptor
- The descriptor.
public static final RepositoryEvent createEvent(org.apache.avalon.framework.service.ServiceManager manager, Node node, org.apache.avalon.framework.logger.Logger logger, java.lang.Object descriptor)
manager
- The service manager.node
- The node.logger
- The logger.descriptor
- The descriptor.
protected static final Document getDocument(org.apache.avalon.framework.service.ServiceManager manager, Node node, org.apache.avalon.framework.logger.Logger logger)
manager
- The service manager.node
- The node.logger
- The logger.
null
if
the node doesn't represent a document.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |