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 PrinterPortHome  view PrinterPortHome download PrinterPortHome.java

java.lang.Object
  extended byorg.apache.ws.resource.impl.AbstractResourceHome
      extended byorg.oasisOpen.docs.wsrf.x2005.x01.wsrfInterop20Draft03Wsdl.PrinterPortHome
All Implemented Interfaces:
org.apache.ws.util.jndi.Initializable, org.apache.ws.resource.ResourceCreation, org.apache.ws.resource.ResourceDestruction, org.apache.ws.resource.ResourceHome, java.io.Serializable

public class PrinterPortHome
extends org.apache.ws.resource.impl.AbstractResourceHome
implements java.io.Serializable

Home for PrinterPort WS-Resources.


Nested Class Summary
 
Nested classes inherited from class org.apache.ws.resource.impl.AbstractResourceHome
 
Field Summary
static java.lang.String HOME_LOCATION
          DOCUMENT_ME
private  int m_printerId
           
private static java.lang.String SERVICE_NAME
           
 
Fields inherited from class org.apache.ws.resource.impl.AbstractResourceHome
m_lockManager, m_resourceClassName, m_resources, MSG
 
Constructor Summary
PrinterPortHome()
           
 
Method Summary
 org.apache.ws.resource.Resource createPrinter(org.apache.ws.resource.ResourceContext resourceContext)
          DOCUMENT_ME
private  org.apache.ws.resource.impl.SimpleTypeResourceKey createResourceKey(int printerId)
           
 EndpointReferenceType getEprForResource(org.apache.ws.resource.ResourceKey key, java.lang.String serviceUrl)
           
 org.apache.ws.resource.Resource getInstance(org.apache.ws.resource.ResourceContext resourceContext)
          Retrieves the Resource instance that is corresponds to the id contained in the specified ResourceContext.
 javax.xml.namespace.QName getPortType()
           
 javax.xml.namespace.QName getResourceKeyNameQName()
           
 javax.xml.namespace.QName getServiceName()
           
 java.lang.String getServicePortName()
           
 
Methods inherited from class org.apache.ws.resource.impl.AbstractResourceHome
add, addResourceCreationListener, addResourceDestructionListener, createInstance, createNewInstanceAndLoad, find, getCacheLocation, getEndpointReference, getResourceClassName, getResourceKeyClassName, getResourceKeyName, getServiceClassName, getSweeperDelay, getWsdlTargetNamespace, init, remove, removeResourceCreationListener, removeResourceDestructionListener, setCacheLocation, setResourceClassName, setResourceKeyClassName, setResourceKeyName, setServiceClass, setServiceClassName, setSweeperDelay, setWsdlTargetNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

private static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values

HOME_LOCATION

public static final java.lang.String HOME_LOCATION
DOCUMENT_ME

See Also:
Constant Field Values

m_printerId

private int m_printerId
Constructor Detail

PrinterPortHome

public PrinterPortHome()
Method Detail

getInstance

public org.apache.ws.resource.Resource getInstance(org.apache.ws.resource.ResourceContext resourceContext)
                                            throws org.apache.ws.resource.ResourceException,
                                                   org.apache.ws.resource.ResourceContextException,
                                                   org.apache.ws.resource.ResourceUnknownException
Description copied from interface: org.apache.ws.resource.ResourceHome
Retrieves the Resource instance that is corresponds to the id contained in the specified ResourceContext.

Specified by:
getInstance in interface org.apache.ws.resource.ResourceHome

getEprForResource

public EndpointReferenceType getEprForResource(org.apache.ws.resource.ResourceKey key,
                                               java.lang.String serviceUrl)

createPrinter

public org.apache.ws.resource.Resource createPrinter(org.apache.ws.resource.ResourceContext resourceContext)
                                              throws org.apache.ws.resource.ResourceException,
                                                     org.apache.ws.resource.ResourceContextException,
                                                     org.apache.ws.resource.ResourceUnknownException
DOCUMENT_ME


createResourceKey

private org.apache.ws.resource.impl.SimpleTypeResourceKey createResourceKey(int printerId)

getServiceName

public javax.xml.namespace.QName getServiceName()

getPortType

public javax.xml.namespace.QName getPortType()

getServicePortName

public java.lang.String getServicePortName()

getResourceKeyNameQName

public javax.xml.namespace.QName getResourceKeyNameQName()