com.sun.enterprise.admin.servermgmt
Interface DomainXmlEventListener

All Known Implementing Classes:
PESamplesDomainXmlEventListener

public interface DomainXmlEventListener

Interface for domain.xml event listeners. The actual implementation class will be specified in the template file.


Method Summary
 void handleCreateEvent(DomainConfig cfg)
          handle the creation of domain.xml.
 void handleDeleteEvent(DomainConfig cfg)
          handle the deletion of the domain.xml.
 

Method Detail

handleCreateEvent

void handleCreateEvent(DomainConfig cfg)
                       throws DomainException
handle the creation of domain.xml. This will be called immediately after domain.xml is created.

Parameters:
cfg - The DomainConfig object for this domain
Throws:
DomainException

handleDeleteEvent

void handleDeleteEvent(DomainConfig cfg)
                       throws DomainException
handle the deletion of the domain.xml. This will be called after the deletion of domain.xml file.

Parameters:
cfg - The DomainConfig object for this domain
Throws:
DomainException


Copyright © 2012 GlassFish Community. All Rights Reserved.