Codota Logo
ListingAgent.findPolicy
Code IndexAdd Codota to your IDE (free)

How to use
findPolicy
method
in
org.apache.axis2.transport.http.ListingAgent

Best Java code snippets using org.apache.axis2.transport.http.ListingAgent.findPolicy (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.apache.axis2/axis2-transport-http

private Policy findPolicy(String id, AxisDescription des) {
    Collection<PolicyComponent> policyElements = des.getPolicySubject().getAttachedPolicyComponents();
  PolicyRegistry registry = new PolicyRegistryImpl();
  Object policyComponent;
  Policy policy = registry.lookup(id);
  if (policy != null) {
    return policy;
  }
  for (Iterator<PolicyComponent> iterator = policyElements.iterator(); iterator.hasNext();) {
    policyComponent = iterator.next();
    if (policyComponent instanceof Policy) {
      // policy found for the id
      if (id.equals(((Policy) policyComponent).getId())) {
        return (Policy) policyComponent;
      }
    }
  }
  AxisDescription child;
  for (Iterator<? extends AxisDescription> iterator = des.getChildren(); iterator.hasNext();) {
    child = (AxisDescription) iterator.next();
    policy = findPolicy(id, child);
    if (policy != null) {
      return policy;
    }
  }
  return null;
}
origin: apache/axis2-java

private Policy findPolicy(String id, AxisDescription des) {
    Collection<PolicyComponent> policyElements = des.getPolicySubject().getAttachedPolicyComponents();
  PolicyRegistry registry = new PolicyRegistryImpl();
  Object policyComponent;
  Policy policy = registry.lookup(id);
  if (policy != null) {
    return policy;
  }
  for (Iterator<PolicyComponent> iterator = policyElements.iterator(); iterator.hasNext();) {
    policyComponent = iterator.next();
    if (policyComponent instanceof Policy) {
      // policy found for the id
      if (id.equals(((Policy) policyComponent).getId())) {
        return (Policy) policyComponent;
      }
    }
  }
  AxisDescription child;
  for (Iterator<? extends AxisDescription> iterator = des.getChildren(); iterator.hasNext();) {
    child = (AxisDescription) iterator.next();
    policy = findPolicy(id, child);
    if (policy != null) {
      return policy;
    }
  }
  return null;
}
origin: org.apache.axis2/axis2-transport-http

Policy targetPolicy = findPolicy(idParam, axisService);
origin: apache/axis2-java

Policy targetPolicy = findPolicy(idParam, axisService);
org.apache.axis2.transport.httpListingAgentfindPolicy

Popular methods of ListingAgent

  • <init>
  • processListService
  • canExposeServiceMetadata
    Checks whether exposing the WSDL & WSDL elements such as schema & policy have been allowed
  • copy
    Copies the input stream to the output stream
  • extractHost
  • extractServiceName
  • getParamtereIgnoreCase
  • handle
  • handlePolicyRequest
  • handleWSDL2Request
  • handleWSDLRequest
  • handleXSDRequest
  • handleWSDLRequest,
  • handleXSDRequest,
  • listServiceDisabled,
  • populateRequestAttributes,
  • processExplicitSchemaAndWSDL,
  • processListServices,
  • renderView

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JOptionPane (javax.swing)
  • JPanel (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now