|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.jaw.impl.mapper.DefaultMapper
The DefaultMapper
class provides an implementation of a
mapping service.
The implementation uses pattern matching rules for providing its services. In order to determine the name of the Java class to use for representing a C-bean, the class will first extract the class name contained in the object name. Then, if the class name ends with
In order to determine the name of the Java class to use for representing an M-bean, the class will first extract the class name contained in the object name. Then, if the class name ends with
MapperSrvIf
Field Summary | |
protected java.lang.String |
MO
MO suffix |
protected int |
MO_length
|
protected java.lang.String |
MOStub
MOStub suffix |
protected int |
MOStub_length
|
protected java.lang.String |
Stub
Stub suffix |
Constructor Summary | |
DefaultMapper()
|
|
DefaultMapper(java.lang.String mo,
java.lang.String mostub)
Allows to create a default mapper using different suffixes. |
Method Summary | |
java.lang.String |
cbeanToUse(ObjectName name)
Get name of a Java class to use for representing a C-bean. |
static java.lang.String |
getClassVersion()
Returns the version of this class. |
java.lang.String |
mbeanToUse(ObjectName name)
Get name of a Java class to use for representing an M-bean. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String MO
protected int MO_length
protected java.lang.String Stub
protected java.lang.String MOStub
protected int MOStub_length
Constructor Detail |
public DefaultMapper()
public DefaultMapper(java.lang.String mo, java.lang.String mostub)
Method Detail |
public java.lang.String cbeanToUse(ObjectName name) throws MappingException
name
- The logical name of the object for which the implementing name is requested.public java.lang.String mbeanToUse(ObjectName name) throws MappingException
name
- The logical name of the object for which the implementing name is requested.public static java.lang.String getClassVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |