|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.config.service.ServletContextAttributeExporter
public class ServletContextAttributeExporter
A simple service that exports Spring beans into the Servlet context as an attribute.
Constructor Summary | |
---|---|
ServletContextAttributeExporter(Collection<String> beans)
Constructor. |
Method Summary | |
---|---|
void |
destroy()
Destroys a service, freeing any resources it may currently be using. |
String |
getId()
Gets the ID of this service. |
void |
initialize()
Initializes this service. |
boolean |
isDestroyed()
Gets whether the service has been destroyed. |
boolean |
isInitialized()
Gets whether the service is initialized and ready for use. |
void |
setApplicationContext(ApplicationContext context)
|
void |
setBeanName(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletContextAttributeExporter(Collection<String> beans)
beans
- ID of beans exported into the servlet contextMethod Detail |
---|
public void destroy() throws ServiceException
destroy
in interface Service
ServiceException
- thrown if there is a problem destroying the servicepublic String getId()
getId
in interface Service
public void initialize() throws ServiceException
initialize
in interface Service
ServiceException
- thrown if there is a problem initializing the servicepublic boolean isInitialized()
isInitialized
in interface Service
public void setApplicationContext(ApplicationContext context)
setApplicationContext
in interface ApplicationContextAware
public void setBeanName(String name)
setBeanName
in interface BeanNameAware
public boolean isDestroyed()
isDestroyed
in interface Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |