net.windward.bean
Interface StatelessBeanProvider
- All Superinterfaces:
- BeanProvider
- All Known Implementing Classes:
- StatelessBeanProviderImpl
- public interface StatelessBeanProvider
- extends BeanProvider
This interface must be implemented for any stateless Windward Reports bean. This interface only comes in to play
for beans loaded by the Windward Reports server.
- Version:
- 3.0 August 13, 2004
|
Method Summary |
void |
serverSetup(java.util.Properties properties)
This method is called when the server first starts up. |
void |
serverTeardown()
This method is called when the server is shutting down. |
serverSetup
public void serverSetup(java.util.Properties properties)
throws BeanProviderException
- This method is called when the server first starts up. It is only called in the case of the reporting server
loading a bean (ie, it is not called when you pass beans directly to Windward Reports in the non client-server
case.) In this case there will be only a single instance of this bean.
- Parameters:
properties - The properties set for this bean in the server properties file.- Throws:
BeanProviderException - thrown if the bean can not be used. This will stop the server from running.
serverTeardown
public void serverTeardown()
throws BeanProviderException
- This method is called when the server is shutting down. It is only called in the case of the reporting server
loading a bean (ie, it is not called when you pass beans directly to Windward Reports in the non client-server
case.) In this case there will be only a single instance of this bean.
- Throws:
BeanProviderException - thrown if there is a problem. This will be logged but the server will continue
a regular shutdown.
Copyright © 2002 - 2008 Windward Reports - All Rights Reserved. java reporting software