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

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

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

origin: org.wso2.mercury/mercury-core

public long getRMSMaximumRetransmitCount() {
  long rmsMaximumRetransmitCount = 100;
  if (axisDescription.getParameter(MercuryConstants.RMS_MAXIMUM_RETRANSMIT_COUNT) != null) {
    rmsMaximumRetransmitCount =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMS_MAXIMUM_RETRANSMIT_COUNT).getValue());
  }
  return rmsMaximumRetransmitCount;
}
origin: org.wso2.mercury/mercury-core

public long getRMDSequenceTimeout() {
  long rmdSequeenceTimeout = 60000;
  if (axisDescription.getParameter(MercuryConstants.RMD_SEQUENCE_TIMEOUT) != null) {
    rmdSequeenceTimeout =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMD_SEQUENCE_TIMEOUT).getValue());
  }
  return rmdSequeenceTimeout;
}
origin: org.wso2.mercury/mercury-core

public long getInvokerTimeout() {
  long invokerTimeout = 60000;
  if (axisDescription.getParameter(MercuryConstants.INVOKER_TIMEOUT) != null) {
    invokerTimeout =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.INVOKER_TIMEOUT).getValue());
  }
  return invokerTimeout;
}
origin: org.wso2.mercury/mercury-core

public long getRMSSequenceRetransmitTime() {
  long rmsSequeenceRetransmitTime = 15000;
  if (axisDescription.getParameter(MercuryConstants.RMS_SEQUENCE_RETRANSMIT_TIME) != null) {
    rmsSequeenceRetransmitTime =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMS_SEQUENCE_RETRANSMIT_TIME).getValue());
  }
  return rmsSequeenceRetransmitTime;
}
origin: org.wso2.mercury/mercury-core

public long getRMDSequenceRetransmitTime() {
  long rmsSequeenceRetransmitTime = 15000;
  if (axisDescription.getParameter(MercuryConstants.RMD_SEQUENCE_RETRANSMIT_TIME) != null) {
    rmsSequeenceRetransmitTime =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMD_SEQUENCE_RETRANSMIT_TIME).getValue());
  }
  return rmsSequeenceRetransmitTime;
}
origin: org.wso2.mercury/mercury-core

public long getInvokerSleepTime() {
  long invokerSleepTime = 100;
  if (axisDescription.getParameter(MercuryConstants.INVOKER_WORKER_SLEEP_TIME) != null) {
    invokerSleepTime =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.INVOKER_WORKER_SLEEP_TIME).getValue());
  }
  return invokerSleepTime;
}
origin: org.wso2.mercury/mercury-core

public long getRMSSequenceTimeout() {
  long rmsSequeenceTimeout = 60000;
  if (axisDescription.getParameter(MercuryConstants.RMS_SEQUENCE_TIMEOUT) != null) {
    rmsSequeenceTimeout =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMS_SEQUENCE_TIMEOUT).getValue());
  }
  return rmsSequeenceTimeout;
}
origin: org.wso2.mercury/mercury-core

public long getRMSSequenceWorkerSleepTime() {
  long rmsSequeenceWorkerSleepTime = 100;
  if (axisDescription.getParameter(MercuryConstants.RMS_SEQUENCE_WORKER_SLEEP_TIME) != null) {
    rmsSequeenceWorkerSleepTime =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMS_SEQUENCE_WORKER_SLEEP_TIME).getValue());
  }
  return rmsSequeenceWorkerSleepTime;
}
origin: org.wso2.mercury/mercury-core

public long getRMDSequenceWorkerSleepTime() {
  long rmdSequeenceWorkerSleepTime = 100;
  if (axisDescription.getParameter(MercuryConstants.RMD_SEQUENCE_WORKER_SLEEP_TIME) != null) {
    rmdSequeenceWorkerSleepTime =
        Long.parseLong((String) axisDescription.getParameter(
            MercuryConstants.RMD_SEQUENCE_WORKER_SLEEP_TIME).getValue());
  }
  return rmdSequeenceWorkerSleepTime;
}
origin: org.wso2.mercury/mercury-core

public boolean getEnforceRM() {
  boolean enforceRM = false;
  if (axisDescription.getParameter(MercuryConstants.ENFORCE_RM) != null) {
    enforceRM = Boolean.parseBoolean((String) axisDescription.getParameter(
        MercuryConstants.ENFORCE_RM).getValue());
  }
  return enforceRM;
}
origin: org.apache.axis2/axis2-kernel

public Object getParameterValue(String name) {
  Parameter param = getParameter(name);
  if (param == null) {
    return null;
  }
  return param.getValue();
}
origin: apache/axis2-java

public Object getParameterValue(String name) {
  Parameter param = getParameter(name);
  if (param == null) {
    return null;
  }
  return param.getValue();
}
origin: apache/axis2-java

public static String getAddressingRequirementParemeterValue(AxisDescription axisDescription){
  String value = "";
  if (axisDescription != null) {
    value = Utils.getParameterValue(
        axisDescription.getParameter(AddressingConstants.ADDRESSING_REQUIREMENT_PARAMETER));
    if(value !=null){
      value = value.trim();
    }
    if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) {
      log.debug("getAddressingRequirementParemeterValue: value: '" + value + "'");
    }
  }
  if (value == null || "".equals(value)) {
    value = AddressingConstants.ADDRESSING_UNSPECIFIED;
  }
  return value;
}
origin: org.apache.axis2/axis2-kernel

public static String getAddressingRequirementParemeterValue(AxisDescription axisDescription){
  String value = "";
  if (axisDescription != null) {
    value = Utils.getParameterValue(
        axisDescription.getParameter(AddressingConstants.ADDRESSING_REQUIREMENT_PARAMETER));
    if(value !=null){
      value = value.trim();
    }
    if (LoggingControl.debugLoggingAllowed && log.isDebugEnabled()) {
      log.debug("getAddressingRequirementParemeterValue: value: '" + value + "'");
    }
  }
  if (value == null || "".equals(value)) {
    value = AddressingConstants.ADDRESSING_UNSPECIFIED;
  }
  return value;
}
origin: org.apache.axis2/axis2-kernel

public boolean isParameterLocked(String parameterName) {
  if (this.parent != null && this.parent.isParameterLocked(parameterName)) {
    return true;
  }
  Parameter parameter = getParameter(parameterName);
  return parameter != null && parameter.isLocked();
}
origin: org.apache.axis2/axis2-kernel

public boolean isParameterTrue(String name) {
  Parameter param = getParameter(name);
  return param != null && JavaUtils.isTrue(param.getValue());
}
origin: apache/axis2-java

public boolean isParameterLocked(String parameterName) {
  if (this.parent != null && this.parent.isParameterLocked(parameterName)) {
    return true;
  }
  Parameter parameter = getParameter(parameterName);
  return parameter != null && parameter.isLocked();
}
origin: apache/axis2-java

public boolean isParameterTrue(String name) {
  Parameter param = getParameter(name);
  return param != null && JavaUtils.isTrue(param.getValue());
}
origin: org.apache.axis2/axis2-kernel

/**
 * If the parameter is found in the current description then the Parameter will be writable else
 * it will be read only
 *
 * @param name name of Parameter to retrieve
 * @return the Parameter, if found anywhere in the stack, or null if not
 */
public Parameter getParameter(String name) {
  Parameter parameter = parameterInclude.getParameter(name);
  if (parameter != null) {
    parameter.setEditable(true);
    return parameter;
  }
  if (parent != null) {
    parameter = parent.getParameter(name);
    if (parameter != null) {
      parameter.setEditable(false);
    }
    return parameter;
  }
  return null;
}
origin: org.apache.sandesha2/sandesha2-core

public static SandeshaPolicyBean getPropertyBean (AxisDescription axisDescription) throws SandeshaException {
  Parameter parameter = axisDescription.getParameter(Sandesha2Constants.SANDESHA_PROPERTY_BEAN);
  if (parameter==null)
    throw new SandeshaException (SandeshaMessageHelper.getMessage(
        SandeshaMessageKeys.propertyBeanNotSet));
  
  SandeshaPolicyBean propertyBean = (SandeshaPolicyBean) parameter.getValue();
  if (propertyBean==null) {
    String message = SandeshaMessageHelper.getMessage(SandeshaMessageKeys.policyBeanNotFound);
    throw new SandeshaException (message);
  }
  return propertyBean;
}
org.apache.axis2.descriptionAxisDescriptiongetParameter

Javadoc

If the parameter is found in the current description then the Parameter will be writable else it will be read only

Popular methods of AxisDescription

  • addParameter
  • getParent
  • 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

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • putExtra (Intent)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • ImageIO (javax.imageio)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Best IntelliJ plugins
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