de.fzj.unicore.wsrflite.admin.service
Class AdminServiceHomeImpl

java.lang.Object
  extended by de.fzj.unicore.wsrflite.impl.DefaultHome
      extended by de.fzj.unicore.wsrflite.xmlbeans.impl.WSResourceHomeImpl
          extended by de.fzj.unicore.wsrflite.admin.service.AdminServiceHomeImpl
All Implemented Interfaces:
Home

public class AdminServiceHomeImpl
extends WSResourceHomeImpl

AdminTool Service Home implementation.

Author:
j.daivandy@fz-juelich.de

Field Summary
 
Fields inherited from class de.fzj.unicore.wsrflite.impl.DefaultHome
DEFAULT_LIFETIME, EXPIRYCHECK_INITIAL, EXPIRYCHECK_PERIOD, expiryChecker, instanceChecking, logger, MAXIMUM_LIFETIME, serviceInstances, serviceName, supportsNotification, terminationTimes
 
Constructor Summary
AdminServiceHomeImpl()
           
 
Method Summary
 void activateHome(String serviceName)
          activate the service using the given name
Called when the container brings up the service
 String createWSRFServiceInstance(Map<String,Object> initObjs)
          Create the singleton admin service instance
protected  WSResourceImpl doCreateInstance()
          actually create an instance in general you only need to override this to provide a correct instance
 
Methods inherited from class de.fzj.unicore.wsrflite.xmlbeans.impl.WSResourceHomeImpl
getFaultConverter
 
Methods inherited from class de.fzj.unicore.wsrflite.impl.DefaultHome
destroyWSRFServiceInstance, doCreateInstance, extractServiceReference, get, getForUpdate, getNumberOfInstances, getReferenceParameterQNames, getServiceName, getStore, getTerminationTime, getWSNProvider, initExpiryCheck, isShuttingDown, passivateHome, persist, runExpiryCheckNow, setServiceName, setStore, setTerminationTime, stopExpiryCheckNow, storeNewInstance, supportsNotification, updateTT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminServiceHomeImpl

public AdminServiceHomeImpl()
Method Detail

doCreateInstance

protected WSResourceImpl doCreateInstance()
Description copied from class: WSResourceHomeImpl
actually create an instance in general you only need to override this to provide a correct instance

Overrides:
doCreateInstance in class WSResourceHomeImpl

createWSRFServiceInstance

public String createWSRFServiceInstance(Map<String,Object> initObjs)
                                 throws ResourceNotCreatedException
Create the singleton admin service instance

Specified by:
createWSRFServiceInstance in interface Home
Overrides:
createWSRFServiceInstance in class DefaultHome
Returns:
String the unique id of the new instance
Throws:
ResourceNotCreatedException

activateHome

public void activateHome(String serviceName)
                  throws Exception
Description copied from interface: Home
activate the service using the given name
Called when the container brings up the service

Specified by:
activateHome in interface Home
Overrides:
activateHome in class DefaultHome
Throws:
Exception


Copyright © 2010. All Rights Reserved.