Save This Page
Home » Hibernate-3.3.2.GA » org.hibernate » tuple » [javadoc | source]
org.hibernate.tuple
public interface: Instantiator [javadoc | source]

All Implemented Interfaces:
    Serializable

All Known Implementing Classes:
    DynamicMapInstantiator, ProxiedInstantiator, PojoInstantiator, Dom4jInstantiator, ProxiedInstantiator

Contract for implementors responsible for instantiating entity/component instances.
Method from org.hibernate.tuple.Instantiator Summary:
instantiate,   instantiate,   isInstance
Method from org.hibernate.tuple.Instantiator Detail:
 public Object instantiate()
    Perform the requested instantiation.
 public Object instantiate(Serializable id)
    Perform the requested entity instantiation.

    This form is never called for component instantiation, only entity instantiation.

 public boolean isInstance(Object object)
    Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.