站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.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)

Field Summary
static String DEFAULT_MESSAGE_BUNDLE
           
 
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
 
Method Summary
 VerificationEvent createBeanVerifiedEvent(VerificationEventGenerator source)
           
 VerificationEvent createSpecViolationEvent(VerificationEventGenerator source, Section section)
           
 String getMessageBundle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MESSAGE_BUNDLE

public static final String DEFAULT_MESSAGE_BUNDLE
See Also:
Constant Field Values
Constructor Detail

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

Method Detail

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.