org.apache.ws.resource.lifetime.impl
Class ResourceTerminationEventImpl

java.lang.Object
  extended byorg.apache.ws.resource.lifetime.impl.AbstractResourceTerminationEvent
      extended byorg.apache.ws.resource.lifetime.impl.ResourceTerminationEventImpl
All Implemented Interfaces:
ResourceTerminationEvent

public class ResourceTerminationEventImpl
extends AbstractResourceTerminationEvent
implements ResourceTerminationEvent

Author:
Sal Campana

Constructor Summary
ResourceTerminationEventImpl(java.lang.Object resourceId)
          Constructor creates termination time upon construction.
ResourceTerminationEventImpl(java.lang.Object resourceId, java.util.Calendar terminationTime, java.lang.Object reason)
          Sets termination time and reason to passed in params.
ResourceTerminationEventImpl(java.lang.Object resourceId, java.lang.Object reason)
          Set the reson to the object specified and termination time is set upon construction.
 
Method Summary
 org.apache.xmlbeans.XmlObject getTerminationNotifDocXmlBean(NamespaceVersionHolder namespaces)
          DOCUMENT_ME
 
Methods inherited from class org.apache.ws.resource.lifetime.impl.AbstractResourceTerminationEvent
getReason, getResourceId, getTerminationTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.resource.lifetime.ResourceTerminationEvent
getReason, getTerminationTime
 

Constructor Detail

ResourceTerminationEventImpl

public ResourceTerminationEventImpl(java.lang.Object resourceId,
                                    java.util.Calendar terminationTime,
                                    java.lang.Object reason)
Sets termination time and reason to passed in params.

Parameters:
resourceId - The resource Id of the resource being destroyed.
terminationTime -
reason -

ResourceTerminationEventImpl

public ResourceTerminationEventImpl(java.lang.Object resourceId)
Constructor creates termination time upon construction. Reason is null.

Parameters:
resourceId - The resource Id of the resource being destroyed.

ResourceTerminationEventImpl

public ResourceTerminationEventImpl(java.lang.Object resourceId,
                                    java.lang.Object reason)
Set the reson to the object specified and termination time is set upon construction.

Parameters:
resourceId - The resource Id of the resource being destroyed.
reason -
Method Detail

getTerminationNotifDocXmlBean

public org.apache.xmlbeans.XmlObject getTerminationNotifDocXmlBean(NamespaceVersionHolder namespaces)
DOCUMENT_ME

Specified by:
getTerminationNotifDocXmlBean in class AbstractResourceTerminationEvent
Parameters:
namespaces - DOCUMENT_ME
Returns:
DOCUMENT_ME


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.