com.sap.security.core.server.vsi.api
Interface Adapter

All Superinterfaces:
Provider

public interface Adapter
extends Provider

Virus scan adapter object. This class represents the "Virus Scan Adapter" and its characteristics.

The virus scan adapter is a native shared library (delivered by an external partner) which can be loaded directly into the JAVA process environment (via JNI == java native interface).

This way ensures a high performace scan with an external virus scanner (VSA), because the scan of memory areas are done inplace. The virus scan adapter is also used by the Virus Scan Server and is therefore the only way to the external product.

History:

     1.0      Initial Version for SAP NetWeaver 04
     1.1      Added a pattern for clean test.
     1.5      Enhancements in the native VSI layer
     1.6      Dual runtime support (JAVA standalone and J2EE)
	

Since:
1.0
Version:
1.6, $DateTime: 2007/03/27 12:26:05 $
See Also:
Provider.getAdapter(), Instance

Method Summary
 java.lang.String getName()
          Get the name of the virus scan adapter provider.
 java.lang.String getVendorInfoText()
          Get the vendor dependend info text.
 int getVsaMajorVersion()
          Get the major version number of the external virus scan adapter.
 int getVsaMinorVersion()
          Get the minor version number of the external virus scan adapter.
 java.lang.String getVsaVendorName()
          Get the adapter name defined by the external vendor of the external virus scan adapter.
 
Methods inherited from interface com.sap.security.core.server.vsi.api.Provider
getAdapter, getDrivers, getEngine, getLastInitTime, getParameter, getParameters, getServer, isServer, setDefaultConfig, setParameter
 

Method Detail

getName

public java.lang.String getName()
Get the name of the virus scan adapter provider.
Specified by:
getName in interface Provider
Returns:
The defined name of the VSA. Defined in the config framework.

getVsaMajorVersion

public int getVsaMajorVersion()
                       throws VSIServiceException
Get the major version number of the external virus scan adapter.
Returns:
Major Version.

getVsaMinorVersion

public int getVsaMinorVersion()
                       throws VSIServiceException
Get the minor version number of the external virus scan adapter.
Returns:
Minor Verison.

getVsaVendorName

public java.lang.String getVsaVendorName()
                                  throws VSIServiceException
Get the adapter name defined by the external vendor of the external virus scan adapter.
Returns:
Name of the VSA

getVendorInfoText

public java.lang.String getVendorInfoText()
                                   throws VSIServiceException
Get the vendor dependend info text.
Returns:
Info text of the VSA.