com.sun.enterprise.v3.admin.cluster
Class ServerSynchronizer

java.lang.Object
  extended by com.sun.enterprise.v3.admin.cluster.ServerSynchronizer
All Implemented Interfaces:
org.jvnet.hk2.component.PostConstruct

@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public final class ServerSynchronizer
extends java.lang.Object
implements org.jvnet.hk2.component.PostConstruct

The core server synchronization logic. Given a request from the client, it fills the payload with the files the client needs. The list of files in the config directory to synchronize is in META-INF/config-files in this module, or in config/config-files in te domain directory.

Author:
Bill Shannon

Constructor Summary
ServerSynchronizer()
           
 
Method Summary
 void postConstruct()
           
 void synchronize(Server server, SyncRequest sr, Payload.Outbound payload, ActionReport report, java.util.logging.Logger logger)
          Handle a single syncrhonization request for the given server by adding the needed files to the payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerSynchronizer

public ServerSynchronizer()
Method Detail

postConstruct

public void postConstruct()
Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct

synchronize

public void synchronize(Server server,
                        SyncRequest sr,
                        Payload.Outbound payload,
                        ActionReport report,
                        java.util.logging.Logger logger)
Handle a single syncrhonization request for the given server by adding the needed files to the payload.



Copyright © 2012 GlassFish Community. All Rights Reserved.