Split out ObjectFactory implementation from LocalOnlyContextFactory
-------------------------------------------------------------------
Key: JBNAME-20
URL:
https://jira.jboss.org/jira/browse/JBNAME-20
Project: JBoss Naming
Issue Type: Task
Components: jnp-client
Affects Versions: 5.0.0.CR3
Reporter: Scott M Stark
Assignee: Scott M Stark
Fix For: 5.0.0.GA
The LocalOnlyContextFactory currently implements a URL content ObjectFactory for some
reason:
// ObjectFactory implementation ----------------------------------
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
throws Exception
{
Context ctx = getInitialContext(environment);
Reference ref = (Reference)obj;
return ctx.lookup((String)ref.get("URL").getContent());
}
This should be in a separate URLContentObjectFactory bean
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira