public class MvcEndpoints extends Object implements ApplicationContextAware, InitializingBean
MvcEndpoint beans, and a factory for a set of generic ones
wrapping existing Endpoint instances that are not already exposed as MVC
endpoints.| Constructor and Description |
|---|
MvcEndpoints() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Set<MvcEndpoint> |
getEndpoints() |
<E extends MvcEndpoint> |
getEndpoints(Class<E> type)
Return the endpoints of the specified type.
|
void |
setApplicationContext(ApplicationContext applicationContext) |
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic Set<MvcEndpoint> getEndpoints()
public <E extends MvcEndpoint> Set<E> getEndpoints(Class<E> type)
E - the Class type of the endpoints to be returnedtype - the endpoint typeCopyright © 2017 Pivotal Software, Inc.. All rights reserved.