Package com.sun.enterprise.deployment.runtime

Examples of com.sun.enterprise.deployment.runtime.PrefetchDisabledDescriptor


   /**
    * @return the descriptor instance to associate with this XMLNode
    */   
    public Object getDescriptor() {
        if (descriptor==null) {
            descriptor = new PrefetchDisabledDescriptor();
            Object parentDesc = getParentNode().getDescriptor();
            if (parentDesc instanceof EjbDescriptor) {
                descriptor.setEjbDescriptor((EjbDescriptor)parentDesc);
            }
        }
View Full Code Here


    fn.writeDescriptor(findersNode, RuntimeTagNames.FINDER, aFinder);
      }
  }
       
        // prefetch-disabled
        PrefetchDisabledDescriptor prefetchDisabledDesc =
            ejbDescriptor.getPrefetchDisabledDescriptor();            
        if (prefetchDisabledDesc != null) {
            PrefetchDisabledNode prefetchDisabledNode =
                new PrefetchDisabledNode();
            prefetchDisabledNode.writeDescriptor(cmpNode,
View Full Code Here

    if (queryDescriptor != null)
    {
      IASEjbCMPEntityDescriptor cmpDescriptor =
        (IASEjbCMPEntityDescriptor)getDescriptor();
      PrefetchDisabledDescriptor pdDescriptor =
        cmpDescriptor.getPrefetchDisabledDescriptor();

      if (pdDescriptor != null)
      {
        MethodDescriptor methodDescriptor =
          queryDescriptor.getQueryMethodDescriptor();

        enabled = !pdDescriptor.isPrefetchDisabledFor(
          methodDescriptor);
      }
    }

    return enabled;
View Full Code Here

   /**
    * @return the descriptor instance to associate with this XMLNode
    */   
    public Object getDescriptor() {
        if (descriptor==null) {
            descriptor = new PrefetchDisabledDescriptor();
            Object parentDesc = getParentNode().getDescriptor();
            if (parentDesc instanceof EjbDescriptor) {
                descriptor.setEjbDescriptor((EjbDescriptor)parentDesc);
            }
        }
View Full Code Here

    fn.writeDescriptor(findersNode, RuntimeTagNames.FINDER, aFinder);
      }
  }
       
        // prefetch-disabled
        PrefetchDisabledDescriptor prefetchDisabledDesc =
            ejbDescriptor.getPrefetchDisabledDescriptor();            
        if (prefetchDisabledDesc != null) {
            PrefetchDisabledNode prefetchDisabledNode =
                new PrefetchDisabledNode();
            prefetchDisabledNode.writeDescriptor(cmpNode,
View Full Code Here

    if (queryDescriptor != null)
    {
      IASEjbCMPEntityDescriptor cmpDescriptor =
        (IASEjbCMPEntityDescriptor)getDescriptor();
      PrefetchDisabledDescriptor pdDescriptor =
        cmpDescriptor.getPrefetchDisabledDescriptor();

      if (pdDescriptor != null)
      {
        MethodDescriptor methodDescriptor =
          queryDescriptor.getQueryMethodDescriptor();

        enabled = !pdDescriptor.isPrefetchDisabledFor(
          methodDescriptor);
      }
    }

    return enabled;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.runtime.PrefetchDisabledDescriptor

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.