FileDocCategorySizeDatePackage
PEEventDispatcher.javaAPI DocGlassfish v2 API2729Fri May 04 22:33:34 BST 2007com.sun.enterprise.admin.event

PEEventDispatcher

public class PEEventDispatcher extends Object implements EventDispatcher
PE is a single server instance where domain administration server and server runtime is co-located. This should always route to the PE instance.
author
Nazrul Islam
since
JDK1.4

Fields Summary
Constructors Summary
Methods Summary
public AdminEventResultdispatch(AdminEvent event)
Fortwards to the PE instance.


        // always route to PE instance since it is the only running instance
        String peInstName  = AdminService.getAdminService().getInstanceName();
        event.setEffectiveDestination(peInstName);
        AdminEventResult r = AdminEventMulticaster.multicastEvent(event);

        return r;