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 ApplicationContextAware
BeansException
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public 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 © 2018 Pivotal Software, Inc.. All rights reserved.