Search in sources :

Example 6 with WebMethod

use of com.webcohesion.enunciate.modules.jaxws.model.WebMethod in project enunciate by stoicflame.

the class ServiceImpl method getOperations.

@Override
public List<? extends Operation> getOperations() {
    ArrayList<Operation> operations = new ArrayList<Operation>();
    FacetFilter facetFilter = registrationContext.getFacetFilter();
    for (WebMethod webMethod : this.ei.getWebMethods()) {
        if (facetFilter.accept(webMethod)) {
            operations.add(new OperationImpl(webMethod, this, registrationContext));
        }
    }
    return operations;
}
Also used : WebMethod(com.webcohesion.enunciate.modules.jaxws.model.WebMethod) FacetFilter(com.webcohesion.enunciate.facets.FacetFilter) ArrayList(java.util.ArrayList) Operation(com.webcohesion.enunciate.api.services.Operation)

Aggregations

WebMethod (com.webcohesion.enunciate.modules.jaxws.model.WebMethod)6 EndpointInterface (com.webcohesion.enunciate.modules.jaxws.model.EndpointInterface)2 WebMessage (com.webcohesion.enunciate.modules.jaxws.model.WebMessage)2 WebParam (com.webcohesion.enunciate.modules.jaxws.model.WebParam)2 TemplateModel (freemarker.template.TemplateModel)2 TemplateModelException (freemarker.template.TemplateModelException)2 QName (javax.xml.namespace.QName)2 Operation (com.webcohesion.enunciate.api.services.Operation)1 FacetFilter (com.webcohesion.enunciate.facets.FacetFilter)1 DecoratedTypeMirror (com.webcohesion.enunciate.javac.decorations.type.DecoratedTypeMirror)1 ClientName (com.webcohesion.enunciate.metadata.ClientName)1 com.webcohesion.enunciate.modules.jaxb.model (com.webcohesion.enunciate.modules.jaxb.model)1 ImplicitSchemaElement (com.webcohesion.enunciate.modules.jaxb.model.ImplicitSchemaElement)1 SchemaInfo (com.webcohesion.enunciate.modules.jaxb.model.SchemaInfo)1 MapType (com.webcohesion.enunciate.modules.jaxb.model.util.MapType)1 WebFault (com.webcohesion.enunciate.modules.jaxws.model.WebFault)1 WebMessagePart (com.webcohesion.enunciate.modules.jaxws.model.WebMessagePart)1 WebResult (com.webcohesion.enunciate.modules.jaxws.model.WebResult)1 ArrayList (java.util.ArrayList)1 Collection (java.util.Collection)1