com.sun.jaw.reference.mapper
Interface MapperSrvIf
- All Known Implementing Classes:
- DefaultMapper
- public abstract interface MapperSrvIf
This class is used for mapping object name into implementation
name.
Given an
object name,
the mapper service should be able to give
the name of the Java class to use for representing the object as
a C-bean or as a M-bean.
Method Summary |
java.lang.String |
cbeanToUse(ObjectName name)
Gets name of a Java class to use for representing a C-bean. |
java.lang.String |
mbeanToUse(ObjectName name)
Gets name of a Java class to use for representing a M-bean. |
cbeanToUse
public java.lang.String cbeanToUse(ObjectName name)
throws MappingException
- Gets name of a Java class to use for representing a C-bean.
- Parameters:
name
- The logical name of the object for which the
implementing name is requested.- Returns:
- The name of the Java class to use for representing the
C-bean.
- Throws:
- MappingException - An error occurs.
mbeanToUse
public java.lang.String mbeanToUse(ObjectName name)
throws MappingException
- Gets name of a Java class to use for representing a M-bean.
- Parameters:
name
- The logical name of the object for which the
implementing name is requested.- Returns:
- The name of the Java class to use for representing the
C-bean.
- Throws:
- MappingException - An error occurs.