org.objectweb.jonas.jtests.beans.relation.s2pkcomp
Interface BRemote


public interface BRemote

Author:
H. Joanin

Method Summary
 Pk getId()
           
 void m1()
           
 Pk retrieveA()
          It returns the primary key of the referenced elements.
 Pk retrieveAInNewTx()
          It returns the primary key of the referenced elements.
 

Method Detail

getId

public Pk getId()
         throws java.rmi.RemoteException

m1

public void m1()
        throws java.rmi.RemoteException

retrieveA

public Pk retrieveA()
             throws java.rmi.RemoteException
It returns the primary key of the referenced elements. This method has the transactional attribut TX_SUPPORTS.
Returns:
a primary key of the bean 'A'. Then the elements are java.lang.String objects.

retrieveAInNewTx

public Pk retrieveAInNewTx()
                    throws java.rmi.RemoteException
It returns the primary key of the referenced elements. This method has the transactional attribut TX_REQUIRES_NEW.
Returns:
a primary key of the bean 'A'. Then the elements are java.lang.String objects.