de.fzj.unicore.wsrflite.xmlbeans.impl
Class WSResourceHomeImpl
java.lang.Object
de.fzj.unicore.wsrflite.impl.DefaultHome
de.fzj.unicore.wsrflite.xmlbeans.impl.WSResourceHomeImpl
- All Implemented Interfaces:
- Home
- Direct Known Subclasses:
- AdminServiceHomeImpl, NotificationProducerHomeImpl, ServiceGroupEntryHomeImpl, ServiceGroupHomeImpl, ServiceGroupRegistrationHomeImpl, SubscriptionHomeImpl
@XmlBinding(name="xmlbeans")
public class WSResourceHomeImpl
- extends DefaultHome
XMLBeans bound implementation of the Home class.
It is responsible for creating new WS-Resources.
When subclassing this, usually it is enough to override
the doCreateInstance() method.
Note: the actual WS-Resource to be used is selected either
a) from the query part of the WS-Addressing To: field
b) from reference parameters given in the SOAP header.
To use the second method, make sure to override the
getReferenceParameterQNames() method, and return the QNames of
the XML element you want to use as reference parameter.
As a second task, the home class converts some exceptions related to lifecycle
to the corresponding faults
- Author:
- schuller
| 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 |
| Methods inherited from class de.fzj.unicore.wsrflite.impl.DefaultHome |
activateHome, createWSRFServiceInstance, 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 |
WSResourceHomeImpl
public WSResourceHomeImpl()
doCreateInstance
protected WSRFInstance doCreateInstance()
- actually create an instance
in general you only need to override this to provide a correct instance
- Specified by:
doCreateInstance in class DefaultHome
- Returns:
getFaultConverter
public FaultConverter getFaultConverter()
- Description copied from interface:
Home
- get the FaultConverter for this service
- Returns:
Copyright © 2010. All Rights Reserved.