ca.infoway.messagebuilder.marshalling
Class Instantiator

Package class diagram package Instantiator
java.lang.Object
  extended by ca.infoway.messagebuilder.marshalling.Instantiator

public class Instantiator
extends Object

A class that helps to instantiate instances of message builder beans.

Author:
Intelliware Development

Method Summary
static Instantiator getInstance()
          Static accessor.
 Object instantiateMessagePartBean(VersionNumber version, String type, Interaction interaction)
          Instantiate a bean that models the part under question.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Instantiator getInstance()

Static accessor. This class is implemented as a singleton, and the static accessor provides access to the single instance.

Returns:
- the instance

instantiateMessagePartBean

public Object instantiateMessagePartBean(VersionNumber version,
                                         String type,
                                         Interaction interaction)

Instantiate a bean that models the part under question.

Parameters:
version - - the version code
type - - the part type
Returns:
an instance of a bean that represents the part type


Copyright © 2013. All Rights Reserved.