org.objectweb.jonas_ejb.container.jorm
Interface Coder
- public interface Coder
This interface specifies two methods to translate a PName into a PK or the
opposite action.
- Author:
- Sebastien Chassande-Barrioz
Method Summary |
org.objectweb.jorm.naming.api.PName |
decode(java.lang.Object pk)
This method build a PName with the primary key specifed in parameter. |
java.lang.Object |
encode(org.objectweb.jorm.naming.api.PName pn)
This method build a primary key with the PName specifed in parameter. |
decode
public org.objectweb.jorm.naming.api.PName decode(java.lang.Object pk)
throws org.objectweb.jorm.api.PException,
java.lang.UnsupportedOperationException
- This method build a PName with the primary key specifed in parameter.
encode
public java.lang.Object encode(org.objectweb.jorm.naming.api.PName pn)
throws org.objectweb.jorm.api.PException,
java.lang.UnsupportedOperationException
- This method build a primary key with the PName specifed in parameter.