Tabnine Logo
AxisDescription.getParent
Code IndexAdd Tabnine to your IDE (free)

How to use
getParent
method
in
org.apache.axis2.description.AxisDescription

Best Java code snippets using org.apache.axis2.description.AxisDescription.getParent (Showing top 12 results out of 315)

origin: org.apache.axis2/axis2-kernel

private PolicyInclude getParent() {
  if (description != null && description.getParent() != null) {
    return description.getParent().getPolicyInclude();
  }
  return null;
}
origin: apache/axis2-java

private PolicyInclude getParent() {
  if (description != null && description.getParent() != null) {
    return description.getParent().getPolicyInclude();
  }
  return null;
}
origin: org.apache.axis2/axis2-kernel

private static AxisService getAxisService(AxisDescription description) {
  if (description == null || description instanceof AxisService) {
    return (AxisService) description;
  } else {
    return getAxisService(description.getParent());
  }
}                              
  
origin: apache/axis2-java

private static AxisService getAxisService(AxisDescription description) {
  if (description == null || description instanceof AxisService) {
    return (AxisService) description;
  } else {
    return getAxisService(description.getParent());
  }
}                              
  
origin: org.apache.axis2/axis2-kernel

public PolicyInclude(AxisDescription axisDescription) {
  if (axisDescription.getParent() != null) {
    PolicyInclude parentPolicyInclude = axisDescription.getParent().getPolicyInclude();
    reg = new PolicyRegistryImpl(parentPolicyInclude.getPolicyRegistry());
  } else {
    reg = new PolicyRegistryImpl();
  }
  setDescription(axisDescription);
}
origin: apache/axis2-java

public PolicyInclude(AxisDescription axisDescription) {
  if (axisDescription.getParent() != null) {
    PolicyInclude parentPolicyInclude = axisDescription.getParent().getPolicyInclude();
    reg = new PolicyRegistryImpl(parentPolicyInclude.getPolicyRegistry());
  } else {
    reg = new PolicyRegistryImpl();
  }
  setDescription(axisDescription);
}
origin: org.apache.axis2/axis2-kernel

public static String generateId(AxisDescription description) {
  PolicySubject policySubject = description.getPolicySubject();
  String identifier = "-policy-1";
  if (description instanceof AxisMessage) {
    identifier = "msg-" + ((AxisMessage) description).getName()
        + identifier;
    description = description.getParent();
  }
  if (description instanceof AxisOperation) {
    identifier = "op-" + ((AxisOperation) description).getName()
        + identifier;
    description = description.getParent();
  }
  if (description instanceof AxisService) {
    identifier = "service-" + ((AxisService) description).getName()
        + identifier;
  }
  /*
   * Int 49 is the value of the Character '1'. Here we want to change '1'
   * to '2' or '2' to '3' .. etc. to construct a unique identifier.
   */
  for (int index = 49; policySubject.getAttachedPolicyComponent(identifier) != null; index++) {
    identifier = identifier.replace((char) index, (char) (index + 1));
  }
  return identifier;
}
origin: apache/axis2-java

public static String generateId(AxisDescription description) {
  PolicySubject policySubject = description.getPolicySubject();
  String identifier = "-policy-1";
  if (description instanceof AxisMessage) {
    identifier = "msg-" + ((AxisMessage) description).getName()
        + identifier;
    description = description.getParent();
  }
  if (description instanceof AxisOperation) {
    identifier = "op-" + ((AxisOperation) description).getName()
        + identifier;
    description = description.getParent();
  }
  if (description instanceof AxisService) {
    identifier = "service-" + ((AxisService) description).getName()
        + identifier;
  }
  /*
   * Int 49 is the value of the Character '1'. Here we want to change '1'
   * to '2' or '2' to '3' .. etc. to construct a unique identifier.
   */
  for (int index = 49; policySubject.getAttachedPolicyComponent(identifier) != null; index++) {
    identifier = identifier.replace((char) index, (char) (index + 1));
  }
  return identifier;
}
origin: org.apache.sandesha2/sandesha2-core

public void engageNotify(AxisDescription axisDescription) throws AxisFault {
  if(log.isDebugEnabled()) log.debug("Entry: SandeshaModule::engageNotify, " + axisDescription);
  AxisDescription parent = axisDescription.getParent();
  SandeshaPolicyBean parentPropertyBean = null;
  if(parent != null) parentPropertyBean = SandeshaUtil.getPropertyBean(parent);
origin: org.wso2.wsas/wso2wsas-admin

String moduleName = axisModule.getName();
if (SystemFilter.isFilteredOutModule(moduleName) ||
  axisDesc.getParent().isEngaged(axisModule)) {
  continue;
origin: apache/axis2-java

AxisService axisService = (AxisService) message.getParent().getParent();
ArrayList schemasList = axisService.getSchema();
origin: org.wso2.wsas/wso2wsas-admin

AxisServiceGroup axisServiceGroup = (AxisServiceGroup) axisOp.getParent().getParent();
if (axisServiceGroup.isEngaged(axisModule)) {
  return Utils.getModuleName(moduleId, moduleVersion) +
org.apache.axis2.descriptionAxisDescriptiongetParent

Popular methods of AxisDescription

  • addParameter
  • getParameter
    If the parameter is found in the current description then the Parameter will be writable else it wil
  • isEngaged
  • applyPolicy
    This method sets the policy as the default of this AxisDescription instance. Further more this metho
  • getChildren
  • getPolicyInclude
  • getPolicySubject
  • canSupportAssertion
  • engageModule
    Engage a Module at this level, keeping track of which level the engage was originally called from. T
  • engageModulesForPolicy
  • engageModulesToAxisDescription
  • getApplicablePolicy
  • engageModulesToAxisDescription,
  • getApplicablePolicy,
  • getAxisConfiguration,
  • getDocumentationNode,
  • getKey,
  • isParameterLocked,
  • onDisengage,
  • onEngage,
  • setDocumentation

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now