org.netbeans.modules.j2ee.deployment.plugins.api
Class VerifierSupport

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.plugins.api.VerifierSupport

public abstract class VerifierSupport
extends Object

Verifier service to be implmeneted by Server Integration Plugin. Instance of this service needs to be declared in plugin module layer.xml.


Constructor Summary
VerifierSupport()
           
 
Method Summary
 boolean supportsModuleType(Object moduleType)
          Whether the verifier support this module type; default to supports all types.
abstract  void verify(org.openide.filesystems.FileObject target, OutputStream logger)
          Verify the provided target J2EE module or application, including both standard J2EE and platform specific deployment info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerifierSupport

public VerifierSupport()
Method Detail

supportsModuleType

public boolean supportsModuleType(Object moduleType)
Whether the verifier support this module type; default to supports all types.


verify

public abstract void verify(org.openide.filesystems.FileObject target,
                            OutputStream logger)
                     throws ValidationException
Verify the provided target J2EE module or application, including both standard J2EE and platform specific deployment info. The provided service could include invoking its own specific UI displaying of verification result. In this case, the service could have limited or no output to logger stream.

Parameters:
target - The an archive, directory or file to verify.
logger - Log stream to write verification output to.
Throws:
ValidationException - if the target fails the validation.

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.