Examples of MyDefaultJndiBindingPolicy


Examples of org.jboss.test.metadata.jbmeta58.MyDefaultJndiBindingPolicy

      deploymentSummary.setDeploymentName("someModule");
      deploymentSummary.setDeploymentScopeBaseName("someEar");
      JBossMetaDataWrapper wrapper = new JBossMetaDataWrapper(primary, defaults);
      wrapper.setDeploymentSummary(deploymentSummary);
     
      DefaultJndiBindingPolicy policy = new MyDefaultJndiBindingPolicy();
      JBossSessionBeanMetaData beanMd = (JBossSessionBeanMetaData)wrapper.getEnterpriseBean("MyBean");
      String interfaceName = "testInterface";
      beanMd.setBusinessRemotes(new BusinessRemotesMetaData());
      beanMd.getBusinessRemotes().add(interfaceName);
      JBossSessionPolicyDecorator decorator = new JBossSessionPolicyDecorator(beanMd,policy);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.