|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface implemented by objects that vend "virgin" instances of a Record. A virgin instance is "vended" based on the type passed in as an arguments to the getExemplar() method. This is a creational pattern called the exemplar or canonical object pattern IIRC.
Method Summary | |
DataSource |
getDataSource(java.lang.String name)
|
java.util.List |
getDataSourceNames()
|
Record |
getExemplar(java.lang.String type)
|
RecordDescriptor |
getMetadata(java.lang.String type)
get record Metadata for the type |
java.util.List |
getRecordNames()
|
void |
registerDataSource(DataSource dataSource)
register a DataSource by its unique name |
void |
registerDataSource(DataSourceMetadata dsm)
register the metadata for a DataSource by its unique name. |
void |
registerDataSourceAlias(java.lang.String alias,
DataSourceMetadata dsm)
|
void |
registerRecordType(RecordDescriptor descriptor)
Register the metadata for a record type. |
Method Detail |
public void registerRecordType(RecordDescriptor descriptor) throws java.io.IOException
public Record getExemplar(java.lang.String type) throws java.io.IOException
public DataSource getDataSource(java.lang.String name) throws java.io.IOException
public void registerDataSource(DataSource dataSource) throws java.io.IOException
public void registerDataSource(DataSourceMetadata dsm) throws java.io.IOException
public RecordDescriptor getMetadata(java.lang.String type) throws java.io.IOException
public java.util.List getRecordNames() throws java.io.IOException
public java.util.List getDataSourceNames() throws java.io.IOException
public void registerDataSourceAlias(java.lang.String alias, DataSourceMetadata dsm) throws java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |