Class ServiceCustom


public class ServiceCustom extends NestingBase
Service customization information. This supports direct service customizations (such as the corresponding request and/or response element name) and also acts as a container for parameter and/or return customizations.
Author:
Dennis M. Sosnoski
  • Field Details

    • s_logger

      private static final Logger s_logger
      Logger for class.
    • s_allowedAttributes

      public static final StringArray s_allowedAttributes
      Enumeration of allowed attribute names
    • m_className

      private final String m_className
    • m_serviceName

      private String m_serviceName
    • m_portName

      private String m_portName
    • m_bindingName

      private String m_bindingName
    • m_portTypeName

      private String m_portTypeName
    • m_wsdlNamespace

      private String m_wsdlNamespace
    • m_serviceAddress

      private String m_serviceAddress
    • m_documentation

      private List m_documentation
    • m_includes

      private String[] m_includes
    • m_excludes

      private String[] m_excludes
    • m_operations

      private final ArrayList m_operations
    • m_classInformation

      private IClass m_classInformation
    • m_namespace

      private String m_namespace
  • Constructor Details

    • ServiceCustom

      public ServiceCustom(SharedNestingBase parent, String clas)
      Constructor.
      Parameters:
      parent -
      clas -
  • Method Details

    • preSet

      private void preSet(IUnmarshallingContext uctx)
      Make sure all attributes are defined.
      Parameters:
      uctx - unmarshalling context
    • getClassName

      public String getClassName()
      Get service class name.
      Returns:
      class name
    • getServiceName

      public String getServiceName()
      Get the service name.
      Returns:
      service name
    • getPortName

      public String getPortName()
      Get the port name.
      Returns:
      port name
    • getBindingName

      public String getBindingName()
      Get the binding name.
      Returns:
      binding name
    • getPortTypeName

      public String getPortTypeName()
      Get the portType name.
      Returns:
      portType name
    • getServiceAddress

      public String getServiceAddress()
      Get the service address.
      Returns:
      service address
    • getDocumentation

      public List getDocumentation()
      Get service documentation node list.
      Returns:
      list of documentation nodes (null if none)
    • getExcludes

      public String[] getExcludes()
      Get list of method names to be excluded as operations.
      Returns:
      excludes (null if none)
    • getIncludes

      public String[] getIncludes()
      Get list of method names to be included as operations.
      Returns:
      includes (null if none)
    • getOperations

      public ArrayList getOperations()
      Get list of children.
      Returns:
      list
    • getWsdlNamespace

      public String getWsdlNamespace()
      Get the namespace for WSDL definitions of this service. This value is set by the
      invalid reference
      #apply(IClassLocator)
      method.
      Specified by:
      getWsdlNamespace in class NestingBase
      Returns:
      WSDL namespace
    • addChild

      protected void addChild(CustomBase child)
      Add child.
      Parameters:
      child -
    • factory

      private static ServiceCustom factory(IUnmarshallingContext ictx) throws JiBXException
      Unmarshalling factory. This gets the containing element and the name so that the standard constructor can be used.
      Parameters:
      ictx -
      Returns:
      created instance
      Throws:
      JiBXException
    • deriveServiceNamespace

      private String deriveServiceNamespace(String uri)
      Derive service-specific namespace URI. The appends the service name to the supplied URI, adding a path separator if necessary.
      Parameters:
      uri - base URI
      Returns:
      service-specific URI
    • apply

      public void apply(IClassLocator icl, IDocumentFormatter fmt)
      Apply customizations to service to fill out members.
      Parameters:
      icl - class locator
      fmt - JavaDoc formatter