Package org.jboss.test.metadata.jbmeta58

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

Related Classes of org.jboss.test.metadata.jbmeta58.MyDefaultJndiBindingPolicy

Copyright © 2018 www.massapicom. 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.