[jboss-dev-forums] [Design of POJO Server] - Re: [jboss-metadata] Decoupling JNDI Logic from Object Model
wolfc
do-not-reply at jboss.com
Wed Jul 2 12:38:04 EDT 2008
As shown in the following change the decorator no longer adheres to the API:
public void testHome()
| {
| - String actual = sessionBeanMetaData.getHomeJndiName();
| + String actual = JbossSessionBeanJndiNameResolver.resolveRemoteHomeJndiName(sessionBeanMetaData);
| assertEquals("MyStatelessBean/home", actual);
| }
The point of the decorator is to hide this function completely, without any API change.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162135#4162135
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162135
More information about the jboss-dev-forums
mailing list