com.sun.enterprise.module
Interface RepositoryChangeListener


public interface RepositoryChangeListener

Listener interface to listen to repository changes. Implementations of this listener interface will be notified when repositories they registered to are changing.

Author:
Jerome Dochez

Method Summary
 void added(URI location)
          A new libary jar file was added to the repository.
 void moduleAdded(ModuleDefinition definition)
          A new module jar file was added to the repository.
 void moduleRemoved(ModuleDefinition definition)
          A module file was removed from the repository
 void removed(URI location)
          A library jar file was removed from the repository
 

Method Detail

added

void added(URI location)
A new libary jar file was added to the repository.

Parameters:
location - the new jar file location

removed

void removed(URI location)
A library jar file was removed from the repository

Parameters:
location - of the removed file

moduleAdded

void moduleAdded(ModuleDefinition definition)
A new module jar file was added to the repository.

Parameters:
definition - the new module definition

moduleRemoved

void moduleRemoved(ModuleDefinition definition)
A module file was removed from the repository

Parameters:
definition - the module definition of the removed module


Copyright © 2013 Oracle Corporation. All Rights Reserved.