[jboss-user] [JBoss Cache] New message: "Re: JBoss cache deployment problem"

parmod mehta do-not-reply at jboss.com
Wed Feb 10 12:36:54 EST 2010


User development,

A new message was posted in the thread "JBoss cache deployment problem":

http://community.jboss.org/message/525524#525524

Author  : parmod mehta
Profile : http://community.jboss.org/people/parmodmehta

Message:
--------------------------------------------------------------
I noticed during debugging in org.jboss.util.naming.NonSerializableFactory
 
    public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable env)
        throws Exception
    { // Get the nns value from the Reference obj and use it as the map key
        Reference ref = (Reference) obj;
        RefAddr addr = ref.get("nns");
        String key = (String) addr.getContent();
        Object target = wrapperMap.get(key);
        return target;
    }
 
 
The Name name that is coming through the caller is "java:MyDs" with wrapper map keyed the values as "MyDs" instead. Is this the expected behavior? thanks

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/525524#525524




More information about the jboss-user mailing list