|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Virus scan provider object. This class represents the
scan provider, which can either be a virus scan adapter or a
"Virus Scan Server".
The virus scan adapter runs in the same process as the JVM and
receives the data from the memory.
The Virus Scan Server is a RFC server program, which receives data
to be scanned for infections.
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)
VSIService.getProvider(),
Instance| Method Summary | |
Adapter |
getAdapter()
Return the adapter object of the current instance. |
Driver[] |
getDrivers()
Get the loaded drivers |
Engine |
getEngine()
Retrieve the engine object from the VSA |
java.util.Date |
getLastInitTime()
Return the Date (time) of the last successful initialisation of the Provider and its scan engine. |
java.lang.String |
getName()
Get the provider Name. |
Parameter |
getParameter(java.lang.String paramName)
Get one parameter. |
Parameter[] |
getParameters()
Get all actual paramters. |
Server |
getServer()
If the instance provider is a Virus Scan Server, this method returns the Server object of the instance. |
boolean |
isServer()
Return boolean for the type of the current scan instance. |
boolean |
setDefaultConfig()
Set or reset the default configuration. |
boolean |
setParameter(Parameter vsParameter)
Set a parameter. |
| Method Detail |
public java.lang.String getName()
This name was defined in the configuration.
public boolean isServer()
public Adapter getAdapter()
throws VSIServiceException
public Server getServer()
throws VSIServiceException
isServer() to
determine whether it is a Virus Scan Server.
public Engine getEngine()
throws VSIServiceException
public Driver[] getDrivers()
throws VSIServiceException
public Parameter[] getParameters()
public Parameter getParameter(java.lang.String paramName)
throws VSIServiceException
paramName - Name of the parameter to be querried.
public boolean setParameter(Parameter vsParameter)
throws VSIServiceException
vsParameter - Scan parameter
public boolean setDefaultConfig()
throws VSIServiceException
public java.util.Date getLastInitTime()
throws VSIServiceException
VSIServiceException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||