类 MvcEndpoints

  • 所有已实现的接口:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class MvcEndpoints
    extends Object
    implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
    A registry for all MvcEndpoint beans, and a factory for a set of generic ones wrapping existing Endpoint instances that are not already exposed as MVC endpoints.
    • 方法详细资料

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
                                   throws org.springframework.beans.BeansException
        指定者:
        setApplicationContext 在接口中 org.springframework.context.ApplicationContextAware
        抛出:
        org.springframework.beans.BeansException
      • getEndpoints

        public <E extends MvcEndpointSet<E> getEndpoints​(Class<E> type)
        Return the endpoints of the specified type.
        类型参数:
        E - the Class type of the endpoints to be returned
        参数:
        type - the endpoint type
        返回:
        the endpoints