org.apache.muse.ws.dm.muws.adv.impl
Class ServiceGroupEntryAdvertisement
java.lang.Object
org.apache.muse.core.AbstractCapability
org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement
org.apache.muse.ws.dm.muws.adv.impl.SimpleAdvertisement
org.apache.muse.ws.dm.muws.adv.impl.ServiceGroupEntryAdvertisement
- All Implemented Interfaces:
- Capability, Initialization, InitializationParameters, ResourceManagerListener, Shutdown, Advertisement
public class ServiceGroupEntryAdvertisement
- extends SimpleAdvertisement
- Author:
- Dan Jemiolo (danj), Joel Hawkins
Methods inherited from class org.apache.muse.core.AbstractCapability |
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, prepareShutdown, setCapabilityURI, setEnvironment, setInitializationParameters, setLog, setMessageHandler, setMessageHandlers, setPersistence, setResource, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.muse.core.Capability |
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence, setResource |
ServiceGroupEntryAdvertisement
public ServiceGroupEntryAdvertisement()
initialize
public void initialize()
throws SoapFault
- Specified by:
initialize
in interface Initialization
- Overrides:
initialize
in class AbstractCapability
- Throws:
SoapFault
resourceAdded
public void resourceAdded(EndpointReference epr,
Resource resource)
throws SoapFault
- Specified by:
resourceAdded
in interface ResourceManagerListener
- Overrides:
resourceAdded
in class AbstractAdvertisement
- Parameters:
epr
- The unique EPR that is being associated with the new resource.
This value should always be used over Resource.getEndpointReference()
because some applications may choose to map multiple EPRs to the
same resource instance, and thus getEndpointReference() will not
provide an accurate value.resource
- The resource instance being associated with the given EPR.
- Throws:
SoapFault
resourceRemoved
public void resourceRemoved(EndpointReference epr)
throws SoapFault
- Specified by:
resourceRemoved
in interface ResourceManagerListener
- Overrides:
resourceRemoved
in class AbstractAdvertisement
- Parameters:
epr
- The unique EPR of the resource that has been destroyed - the
Resource object is not provided because it would most likely
be in an inconsistent state. At this point, the resource has
already been 'destroyed'.
- Throws:
SoapFault
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.