当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
DefaultEventFactory (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.verifier.factory
Class DefaultEventFactory
java.lang.Object
org.jboss.verifier.factory.DefaultEventFactory
- All Implemented Interfaces:
- org.gjt.lindfors.pattern.AbstractFactory, VerificationEventFactory
- public class DefaultEventFactory
- extends Object
- implements VerificationEventFactory
- Since:
- JDK 1.3
- Version:
- $Revision: 1.8 $
- Author:
- Juha Lindfors (jplindfo@helsinki.fi)
Constructor Summary |
DefaultEventFactory()
Deprecated. Use the other constructor with a specific Message
Bundle for your own verification logic! |
DefaultEventFactory(String msgBundle)
Create a DefaultEventFactory using the specified message bundle
for creating the Specification Violation Events |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MESSAGE_BUNDLE
public static final String DEFAULT_MESSAGE_BUNDLE
- See Also:
- Constant Field Values
DefaultEventFactory
public DefaultEventFactory()
- Deprecated. Use the other constructor with a specific Message
Bundle for your own verification logic!
- Default constructor using the DEFAULT_MESSAGE_BUNDLE message
file.
DefaultEventFactory
public DefaultEventFactory(String msgBundle)
- Create a DefaultEventFactory using the specified message bundle
for creating the Specification Violation Events
createSpecViolationEvent
public VerificationEvent createSpecViolationEvent(VerificationEventGenerator source,
Section section)
- Specified by:
createSpecViolationEvent
in interface VerificationEventFactory
createBeanVerifiedEvent
public VerificationEvent createBeanVerifiedEvent(VerificationEventGenerator source)
- Specified by:
createBeanVerifiedEvent
in interface VerificationEventFactory
getMessageBundle
public String getMessageBundle()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.