org.gcube.common.ghn.service.handlers.lifetime
Class PublishingHandler

java.lang.Object
  extended by org.gcube.common.ghn.service.handlers.AbstractHandler<LifetimeHandler>
      extended by org.gcube.common.ghn.service.handlers.LifetimeHandler
          extended by org.gcube.common.ghn.service.handlers.lifetime.PublishingHandler
All Implemented Interfaces:
ServiceHandler<LifetimeHandler>

public class PublishingHandler
extends LifetimeHandler


Constructor Summary
PublishingHandler()
           
 
Method Summary
 String name()
          Returns the name of the handler.
 void onStart(Pipeline<LifetimeHandler> pipeline, StartServiceEvent e)
          Invoked when the container starts a managed app.
 void registryPublisher(org.gcube.informationsystem.publisher.RegistryPublisher registryPublisher)
           
 
Methods inherited from class org.gcube.common.ghn.service.handlers.LifetimeHandler
onEvent, onStop
 
Methods inherited from class org.gcube.common.ghn.service.handlers.AbstractHandler
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PublishingHandler

public PublishingHandler()
Method Detail

registryPublisher

public void registryPublisher(org.gcube.informationsystem.publisher.RegistryPublisher registryPublisher)

name

public String name()
Description copied from interface: ServiceHandler
Returns the name of the handler.

Returns:
the name

onStart

public void onStart(Pipeline<LifetimeHandler> pipeline,
                    StartServiceEvent e)
Description copied from class: LifetimeHandler
Invoked when the container starts a managed app.

Overrides:
onStart in class LifetimeHandler
Parameters:
pipeline - the pipeline in which this handler is registered
e - the event


Copyright © 2013. All Rights Reserved.