package gw.contactmapper.ab1000

uses gw.api.system.PCLoggerCategory


/**
 * Returns the <b>ContactIntegrationMapper</b> to be used by PolicyCenter
 * for integration.  It's @Export so customers can make the get() method return
 * a different ContactIntegrationMapper.
 */
@Export
class ContactIntegrationMapperFactory {
  private static var _logger = PCLoggerCategory.CONTACT_API

  public static property get ContactIntegrationMapper() : ContactIntegrationMapper {
    var mapper = new ContactMapper()
    _logger.trace("ContactIntegrationMapperFactory.get() returned a " + mapper.IntrinsicType.Name)

    return mapper
  }
}
