public class MvcEndpoints extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.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(org.springframework.context.ApplicationContext applicationContext) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.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.