org.apache.lenya.transaction
Interface IdentifiableFactory

All Known Implementing Classes:
RepositoryItemFactoryWrapper

public interface IdentifiableFactory

Factory for identifiables.

Version:
$Id: IdentifiableFactory.java 473861 2006-11-12 03:51:14Z gregor $

Method Summary
 java.lang.Object build(IdentityMap map, java.lang.String key)
          Builds an identifiable.
 java.lang.String getType()
           
 

Method Detail

build

java.lang.Object build(IdentityMap map,
                       java.lang.String key)
                       throws java.lang.Exception
Builds an identifiable.

Parameters:
map - The identity map.
key - The key.
Returns:
An identifiable object.
Throws:
java.lang.Exception - if an error occurs.

getType

java.lang.String getType()
Returns:
The type of the identifables to produce.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.