Package org.jbpm.pvm.internal.wire.descriptor

Examples of org.jbpm.pvm.internal.wire.descriptor.JbossIdmIdentitySessionFactoryDescriptor


  public JbossIdmIdentitySessionFactoryBinding() {
    super("jboss-idm-identity-session-factory");
  }

  public Object parse(Element element, Parse parse, Parser parser) {
    JbossIdmIdentitySessionFactoryDescriptor descriptor = new JbossIdmIdentitySessionFactoryDescriptor();
   
    if (element.hasAttribute("jndi")) {
      descriptor.setJndiName(element.getAttribute("jndi"));
     
    } else if (element.hasAttribute("resource")) {
      descriptor.setResource(element.getAttribute("resource"));
    }

    return descriptor;
  }
View Full Code Here

TOP

Related Classes of org.jbpm.pvm.internal.wire.descriptor.JbossIdmIdentitySessionFactoryDescriptor

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.