com.softwareag.centrasite.api.diagnostic
Interface DiagnosticHandler


public interface DiagnosticHandler


Method Summary
 DiagnosticContext createDiagnosticContext(CLLException cllException, CentraSiteRegistryObject regObject, java.util.Properties properties)
          Instantiate the DiagnosticContext with the given exception and properties
 DiagnosticContext createDiagnosticContext(CLLException cllException, java.util.Properties properties)
          Instantiate the DiagnosticContext with the given exception and properties.
 void sendDiagnostics(DiagnosticContext dContext)
          This method send the diagnostic content to the configured email recipients
 

Method Detail

sendDiagnostics

void sendDiagnostics(DiagnosticContext dContext)
This method send the diagnostic content to the configured email recipients

Parameters:
dContext - The diagnostic content to the configured email recipients

createDiagnosticContext

DiagnosticContext createDiagnosticContext(CLLException cllException,
                                          java.util.Properties properties)
                                          throws CLLException
Instantiate the DiagnosticContext with the given exception and properties.

Parameters:
cllException - exception that need to send to user.
properties -
Returns:
DiagnosticContext
Throws:
CLLException - in case of failed to instantiate the DiagnosticContext.

createDiagnosticContext

DiagnosticContext createDiagnosticContext(CLLException cllException,
                                          CentraSiteRegistryObject regObject,
                                          java.util.Properties properties)
                                          throws CLLException
Instantiate the DiagnosticContext with the given exception and properties

Parameters:
cllException - exception that need to send to user.
regObject -
properties -
Returns:
DiagnosticContext
Throws:
CLLException - in case of failed to instantiate the DiagnosticContext.