Examples of basePath()


Examples of com.citytechinc.cq.component.annotations.Component.basePath()

  public static String getComponentBasePathForComponentClass(CtClass componentClass, String componentPathBase)
    throws ClassNotFoundException {
    Component componentAnnotation = (Component) componentClass.getAnnotation(Component.class);
    String toReturnBasePath = componentPathBase;
    if (componentAnnotation != null) {
      String basePath = componentAnnotation.basePath();

      if (StringUtils.isNotEmpty(basePath)) {
        toReturnBasePath = basePath;
      }
    }
View Full Code Here

Examples of com.citytechinc.cq.component.annotations.Component.basePath()

  public static String getComponentBasePathForComponentClass(CtClass componentClass, String componentPathBase)
    throws ClassNotFoundException {
    Component componentAnnotation = (Component) componentClass.getAnnotation(Component.class);
    String toReturnBasePath = componentPathBase;
    if (componentAnnotation != null) {
      String basePath = componentAnnotation.basePath();

      if (StringUtils.isNotEmpty(basePath)) {
        toReturnBasePath = basePath;
      }
    }
View Full Code Here

Examples of com.wordnik.swagger.annotations.Api.basePath()

        if (api!=null) {
            String shortDescription = api.value();
            setOptionalAttribute(classElement, "shortDesc", shortDescription);
            String longDescription = api.description();
            setOptionalAttribute(classElement, "description", longDescription);
            String basePathAttr = api.basePath();
            setOptionalAttribute(classElement, "basePath",basePathAttr);
        }
        Produces produces = classElementIn.getAnnotation(Produces.class);
        if (produces!=null) {
            String[] types = produces.value();
View Full Code Here

Examples of com.wordnik.swagger.annotations.Api.basePath()

    private ApiListing processControllerApi(Class<?> controllerClass) {
        String resourcePath = "";
        Api controllerApi = controllerClass.getAnnotation(Api.class);
        if (controllerApi != null) {
            resourcePath = controllerApi.basePath();
        }

        if (controllerApi == null || resourcePath.isEmpty()) {
            RequestMapping controllerRequestMapping = controllerClass.getAnnotation(RequestMapping.class);
            if (controllerRequestMapping != null && controllerRequestMapping.value() != null &&
View Full Code Here

Examples of com.wordnik.swagger.model.ApiListing.basePath()

                System.out.println(documentationAsJSON);
                ApiListing documentationDeserialized = JsonSerializer.asApiListing(documentationAsJSON);
                assertNotNull(documentationDeserialized);
                assertTrue(documentationDeserialized.swaggerVersion().equals(SwaggerSpec.version()));
                assertTrue(documentationDeserialized.apiVersion().equals("v1"));
                assertTrue(documentationDeserialized.basePath().equals("http://localhost:8080/api"));
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
View Full Code Here

Examples of org.apache.deltaspike.jsf.api.config.view.View.basePath()

                    mergedMetaData, node.getCallbackDescriptors());
        }
        else if (ViewConfig.class.isAssignableFrom(sourceClass))
        {
            View viewAnnotation = findMetaDataByType(mergedMetaData, View.class);
            String viewId = viewAnnotation.basePath() + viewAnnotation.name() + "." + viewAnnotation.extension();
            return new DefaultViewPathConfigDescriptor(viewId, node.getSource(),
                    filterInheritedFolderMetaData(mergedMetaData), node.getCallbackDescriptors());
        }
        else
        {
View Full Code Here

Examples of org.apache.deltaspike.jsf.api.config.view.View.basePath()

                    mergedMetaData, node.getCallbackDescriptors());
        }
        else if (ViewConfig.class.isAssignableFrom(sourceClass))
        {
            View viewAnnotation = findMetaDataByType(mergedMetaData, View.class);
            String viewId = viewAnnotation.basePath() + viewAnnotation.name() + "." + viewAnnotation.extension();
            return new DefaultViewPathConfigDescriptor(viewId, node.getSource(),
                    filterInheritedFolderMetaData(mergedMetaData), node.getCallbackDescriptors());
        }
        else
        {
View Full Code Here

Examples of org.apache.deltaspike.jsf.api.config.view.View.basePath()

                    mergedMetaData, node.getCallbackDescriptors());
        }
        else if (ViewConfig.class.isAssignableFrom(sourceClass))
        {
            View viewAnnotation = findMetaDataByType(mergedMetaData, View.class);
            String viewId = viewAnnotation.basePath() + viewAnnotation.name() + "." + viewAnnotation.extension();
            return new DefaultViewPathConfigDescriptor(viewId, node.getSource(),
                    mergedMetaData, node.getCallbackDescriptors());
        }
        else
        {
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.basePath()

    public void addEventListener(EventListener listener, int eventTypes, String absPath,
            boolean isDeep, String[] uuids, String[] nodeTypeName, boolean noLocal)
            throws RepositoryException {

        FilterBuilder filterBuilder = new FilterBuilder();
        filterBuilder
            .basePath(namePathMapper.getOakPath(absPath))
            .includeSessionLocal(!noLocal)
            .includeClusterExternal(!(listener instanceof ExcludeExternal))
            .condition(filterBuilder.all(
                filterBuilder.path(isDeep ? STAR_STAR : STAR),
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.observation.filter.FilterBuilder.basePath()

    public void addEventListener(EventListener listener, int eventTypes, String absPath,
            boolean isDeep, String[] uuids, String[] nodeTypeName, boolean noLocal)
            throws RepositoryException {

        FilterBuilder filterBuilder = new FilterBuilder();
        filterBuilder
            .basePath(namePathMapper.getOakPath(absPath))
            .includeSessionLocal(!noLocal)
            .includeClusterExternal(!(listener instanceof ExcludeExternal))
            .condition(filterBuilder.all(
                filterBuilder.path(isDeep ? STAR_STAR : STAR),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.