站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

RecordFactory (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.resource.cci
Interface RecordFactory


public interface RecordFactory

The RecordFactory interface is used for creating MappedRecord and IndexedRecord instances.


Method Summary
 IndexedRecord createIndexedRecord(String recordName)
          Creates a IndexedRecord with the specified name.
 MappedRecord createMappedRecord(String recordName)
          Creates a MappedRecord with the specified name.
 

Method Detail

createMappedRecord

public MappedRecord createMappedRecord(String recordName)
                                throws ResourceException
Creates a MappedRecord with the specified name. The name is used as a key into the MetaData.

Throws:
ResourceException

createIndexedRecord

public IndexedRecord createIndexedRecord(String recordName)
                                  throws ResourceException
Creates a IndexedRecord with the specified name. The name is used as a key into the MetaData.

Throws:
ResourceException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.