org.objectweb.jorm.facility.meminst.manager.basic.api
Interface Manager

All Known Implementing Classes:
ManagerImpl

public interface Manager

Author:
Sebastien Chassande-Barrioz

Method Summary
 PBinding getPBinding(java.lang.Object conn, PName pn)
          This method permits to obtain a PBinding linked to a PAccessor and bound to the PName specified in parameter.
 PBinding getPBinding(java.lang.Object conn, PName pn, boolean create)
          This method permits to obtain a PBinding linked to a PAccessor and bound to the PName specified in parameter.
 

Method Detail

getPBinding

public PBinding getPBinding(java.lang.Object conn,
                            PName pn)
                     throws PException
This method permits to obtain a PBinding linked to a PAccessor and bound to the PName specified in parameter.

getPBinding

public PBinding getPBinding(java.lang.Object conn,
                            PName pn,
                            boolean create)
                     throws PException
This method permits to obtain a PBinding linked to a PAccessor and bound to the PName specified in parameter. The additionnal boolean parameter permits to know if the object must be created if is not found in the cache (the binder). Indeed a mapper is not always able to know if the object exist in the persistent support. This method must be used in this case only. In other case the previous method without the boolean must be used.