org.netbeans.modules.j2eeserver/4 1.55.0 1

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

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.plugins.api.DeploymentChangeDescriptor
All Implemented Interfaces:
EjbChangeDescriptor, AppChangeDescriptor, ModuleChangeDescriptor

public final class DeploymentChangeDescriptor
extends Object
implements AppChangeDescriptor

This class allows the plugin to ask for changes which happened in the application. This is compatible replacement for AppChangeDescriptor.

Since:
1.47

Method Summary
 boolean classesChanged()
          Return true if any file changes require the module class loader refresh.
 boolean descriptorChanged()
          Return true if any of the standard or server specific deployment descriptors have changed.
 boolean ejbsChanged()
          
 String[] getChangedEjbs()
          
 File[] getChangedFiles()
          Returns distribution relative paths of changed files.
 boolean manifestChanged()
          Return true if the manifest.mf of the module has changed.
 boolean serverDescriptorChanged()
          Return true if any of the standard or server specific deployment descriptors have changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getChangedEjbs

public String[] getChangedEjbs()

Specified by:
getChangedEjbs in interface EjbChangeDescriptor

ejbsChanged

public boolean ejbsChanged()

Specified by:
ejbsChanged in interface EjbChangeDescriptor

serverDescriptorChanged

public boolean serverDescriptorChanged()
Return true if any of the standard or server specific deployment descriptors have changed.

Specified by:
serverDescriptorChanged in interface ModuleChangeDescriptor

manifestChanged

public boolean manifestChanged()
Return true if the manifest.mf of the module has changed.

Specified by:
manifestChanged in interface ModuleChangeDescriptor

getChangedFiles

public File[] getChangedFiles()
Returns distribution relative paths of changed files.

Returns all changed files (locations where they are deployed).

Specified by:
getChangedFiles in interface ModuleChangeDescriptor

descriptorChanged

public boolean descriptorChanged()
Return true if any of the standard or server specific deployment descriptors have changed.

Specified by:
descriptorChanged in interface ModuleChangeDescriptor

classesChanged

public boolean classesChanged()
Return true if any file changes require the module class loader refresh.

Specified by:
classesChanged in interface ModuleChangeDescriptor

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.