org.glassfish.internal.embedded
Interface EmbeddedLifecycle


@Contract
public interface EmbeddedLifecycle

Listener type contract to be notified of embedded server creation and destruction.

Author:
Jerome Dochez

Method Summary
 void creation(Server server)
          Notification of embedded server creation
 void destruction(Server server)
          Notification of embedded server destruction
 

Method Detail

creation

void creation(Server server)
Notification of embedded server creation

Parameters:
server - the newly created server

destruction

void destruction(Server server)
Notification of embedded server destruction

Parameters:
server - the stopped embedded server instance


Copyright © 2012 GlassFish Community. All Rights Reserved.