org.spicefactory.pimento.metamodel.impl
Interface MetamodelLoader

All Known Implementing Classes:
DefaultMetamodelLoader

@CinnamonService
public interface MetamodelLoader

Remote service that allows the metamodel to be loaded into the client. The load method of this remote service must be invoked by clients before performing any of the persistent operations.

Author:
Jens Halm

Method Summary
 Metamodel load()
          Loads the metamodel for all managed persistent entities.
 

Method Detail

load

Metamodel load()
Loads the metamodel for all managed persistent entities.

This is an internal operation not exposed to the client-side EntityManager interface. It is always executed as the initial request for any client, since the clients need access to the metamodel before they are able to perform other requests.

Returns:
the metamodel for all managed persistent entities