public boolean registerMap(MapSchema.MessageFactory factory)
    {
        return null == mapMapping.putIfAbsent(factory.typeClass().getName(),
                factory);
    }
Registers a map. Returns true if registration is successful.
protostuff-runtime/src/main/java/io/protostuff/runtime/DefaultIdStrategy.java