de.akquinet.chameria.services
Interface ActivationService


public interface ActivationService

Chameria Activation Service. If present (implemented by an application bundle), this service is called during the application activation / re-activation / shutdown. This allows the application to

For example, implementation can initialize the URL to show up on startup or to change the current url. The service is called at least once on startup, but also when the application is re-activated (JNLP singleton instance). Implementation can use ActivationUtils to parse arguments. All activation services are called by the launcher, but the order is non-deterministic.


Method Summary
 void activation(String[] args)
          Method called by the launcher every time the application is activate.
 void deactivation()
          Method called by the launcher when the application stops.
 

Method Detail

activation

void activation(String[] args)
Method called by the launcher every time the application is activate. The given arguments are the launcher argument, and so can contain the -open argument.

Parameters:
args - the arguments

deactivation

void deactivation()
Method called by the launcher when the application stops.



Copyright © 2010-2011 akquinet A.G.. All Rights Reserved.