org.jboss.verifier.factory
Class DefaultEventFactory

java.lang.Object
  extended byorg.jboss.verifier.factory.DefaultEventFactory
All Implemented Interfaces:
VerificationEventFactory (src)

public class DefaultEventFactory
extends java.lang.Object
implements VerificationEventFactory (src)

Since:
JDK 1.3

Field Summary
static java.lang.String DEFAULT_MESSAGE_BUNDLE
           
 
Constructor Summary
DefaultEventFactory()
          Deprecated. Use the other constructor with a specific Message Bundle for your own verification logic!
DefaultEventFactory(java.lang.String msgBundle)
          Create a DefaultEventFactory using the specified message bundle for creating the Specification Violation Events
 
Method Summary
 VerificationEvent (src) createBeanVerifiedEvent(VerificationEventGenerator (src)  source)
           
 VerificationEvent (src) createSpecViolationEvent(VerificationEventGenerator (src)  source, Section (src)  section)
           
 java.lang.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 java.lang.String DEFAULT_MESSAGE_BUNDLE
See Also:
Constant Field Values (src)
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(java.lang.String msgBundle)
Create a DefaultEventFactory using the specified message bundle for creating the Specification Violation Events

Method Detail

createSpecViolationEvent

public VerificationEvent (src)  createSpecViolationEvent(VerificationEventGenerator (src)  source,
                                                  Section (src)  section)
Specified by:
createSpecViolationEvent in interface VerificationEventFactory (src)

createBeanVerifiedEvent

public VerificationEvent (src)  createBeanVerifiedEvent(VerificationEventGenerator (src)  source)
Specified by:
createBeanVerifiedEvent in interface VerificationEventFactory (src)

getMessageBundle

public java.lang.String getMessageBundle()