Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl
Class AbstractJobPortResource  view AbstractJobPortResource download AbstractJobPortResource.java

java.lang.Object
  extended byorg.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl.AbstractJobPortResource
All Implemented Interfaces:
org.apache.ws.resource.PropertiesResource, org.apache.ws.resource.Resource, org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource
Direct Known Subclasses:
JobPortResource

public abstract class AbstractJobPortResource
extends java.lang.Object
implements org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource, org.apache.ws.resource.PropertiesResource

An abstract JobPort WS-Resource.

NOTE: This class is generated and is NOT meant to be modified.


Field Summary
private  org.apache.ws.addressing.EndpointReference m_endpointReference
           
protected  java.lang.String m_id
          The resource ID of the instance.
protected  org.apache.ws.resource.properties.ResourcePropertySet m_propSet
          The set of properties associated with this resource.
private  java.util.List m_terminationListeners
          A list of termination listeners to be notified when the resource is terminated.
 
Constructor Summary
AbstractJobPortResource()
           
 
Method Summary
 void addTerminationListener(org.apache.ws.resource.lifetime.ResourceTerminationListener listener)
          Adds a listener to be invoked when the resource has been terminated.
 void destroy()
          DOCUMENT_ME
 java.util.Calendar getCurrentTime()
          Returns the current time from the prop set.
 org.apache.ws.addressing.EndpointReference getEndpointReference()
          Returns the EndpointReference associated with this Resource.
 java.lang.Object getID()
          DOCUMENT_ME
abstract  PrinterPortResource getPrinterResource()
           
 org.apache.ws.resource.properties.ResourcePropertySet getResourcePropertySet()
          Returns this resource's property set.
 java.util.Calendar getTerminationTime()
          DOCUMENT_ME
 void init()
          DOCUMENT_ME
 void setEndpointReference(org.apache.ws.addressing.EndpointReference epr)
          Sets the EndpointReference associated with this Resource.
 void setID(java.lang.Object id)
          DOCUMENT_ME
 void setResourcePropertySet(org.apache.ws.resource.properties.ResourcePropertySet propSet)
          Sets this resource's property set.
 void setTerminationTime(java.util.Calendar time)
          DOCUMENT_ME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_id

protected java.lang.String m_id
The resource ID of the instance.


m_propSet

protected org.apache.ws.resource.properties.ResourcePropertySet m_propSet
The set of properties associated with this resource.


m_terminationListeners

private java.util.List m_terminationListeners
A list of termination listeners to be notified when the resource is terminated.


m_endpointReference

private org.apache.ws.addressing.EndpointReference m_endpointReference
Constructor Detail

AbstractJobPortResource

public AbstractJobPortResource()
Method Detail

getCurrentTime

public java.util.Calendar getCurrentTime()
Returns the current time from the prop set.

Specified by:
getCurrentTime in interface org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource

setID

public void setID(java.lang.Object id)
DOCUMENT_ME

Specified by:
setID in interface org.apache.ws.resource.Resource

getID

public java.lang.Object getID()
DOCUMENT_ME

Specified by:
getID in interface org.apache.ws.resource.Resource

setResourcePropertySet

public void setResourcePropertySet(org.apache.ws.resource.properties.ResourcePropertySet propSet)
Description copied from interface: org.apache.ws.resource.PropertiesResource
Sets this resource's property set.

Specified by:
setResourcePropertySet in interface org.apache.ws.resource.PropertiesResource

getResourcePropertySet

public org.apache.ws.resource.properties.ResourcePropertySet getResourcePropertySet()
Description copied from interface: org.apache.ws.resource.PropertiesResource
Returns this resource's property set.

Specified by:
getResourcePropertySet in interface org.apache.ws.resource.PropertiesResource

setTerminationTime

public void setTerminationTime(java.util.Calendar time)
DOCUMENT_ME

Specified by:
setTerminationTime in interface org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource

getTerminationTime

public java.util.Calendar getTerminationTime()
DOCUMENT_ME

Specified by:
getTerminationTime in interface org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource

addTerminationListener

public void addTerminationListener(org.apache.ws.resource.lifetime.ResourceTerminationListener listener)
Adds a listener to be invoked when the resource has been terminated.

Specified by:
addTerminationListener in interface org.apache.ws.resource.Resource

getPrinterResource

public abstract PrinterPortResource getPrinterResource()

destroy

public void destroy()
DOCUMENT_ME

Specified by:
destroy in interface org.apache.ws.resource.Resource

init

public void init()
DOCUMENT_ME

Specified by:
init in interface org.apache.ws.resource.Resource

getEndpointReference

public org.apache.ws.addressing.EndpointReference getEndpointReference()
Returns the EndpointReference associated with this Resource.

Specified by:
getEndpointReference in interface org.apache.ws.resource.Resource

setEndpointReference

public void setEndpointReference(org.apache.ws.addressing.EndpointReference epr)
Sets the EndpointReference associated with this Resource.