&& !termTimeXmlBean.isNilTerminationTime( )
&& termTimeXmlBean.getTerminationTime( ).before( Calendar.getInstance( ) ) )
{
try
{
resource.destroy( );
}
catch ( Exception destroyException )
{
// TODO: what should we do if we failed to destroy an expired resource?
//destroyException.printStackTrace( );