org.globus.exec.service.test.throughput.util
Class StubFactory

java.lang.Object
  extended by org.globus.exec.service.test.throughput.util.StubFactory

public class StubFactory
extends java.lang.Object

This is not a generic stub factory, but a factory to create stubs of the services defined in the enum ServiceName


Field Summary
private  ClientSecurityDescriptor defaultSecDesc
           
private static org.apache.commons.logging.Log log
           
 
Constructor Summary
StubFactory()
           
StubFactory(ClientSecurityDescriptor defaultSecDesc)
           
 
Method Summary
private  javax.xml.rpc.Stub create(ServiceNameType serviceName, org.globus.axis.message.addressing.EndpointReferenceType epr)
          Create a stub for the specified service.
 javax.xml.rpc.Stub createStub(ServiceNameType serviceName, org.globus.axis.message.addressing.EndpointReferenceType epr)
          Create a stub and set the default security descriptor.
 javax.xml.rpc.Stub createStub(ServiceNameType serviceName, org.globus.axis.message.addressing.EndpointReferenceType epr, ClientSecurityDescriptor secDesc)
          Create a stub and set the specified security descriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log

defaultSecDesc

private ClientSecurityDescriptor defaultSecDesc
Constructor Detail

StubFactory

public StubFactory()

StubFactory

public StubFactory(ClientSecurityDescriptor defaultSecDesc)
Method Detail

createStub

public javax.xml.rpc.Stub createStub(ServiceNameType serviceName,
                                     org.globus.axis.message.addressing.EndpointReferenceType epr)
                              throws java.lang.Exception
Create a stub and set the default security descriptor.

Throws:
java.lang.Exception

createStub

public javax.xml.rpc.Stub createStub(ServiceNameType serviceName,
                                     org.globus.axis.message.addressing.EndpointReferenceType epr,
                                     ClientSecurityDescriptor secDesc)
                              throws java.lang.Exception
Create a stub and set the specified security descriptor.

Throws:
java.lang.Exception

create

private javax.xml.rpc.Stub create(ServiceNameType serviceName,
                                  org.globus.axis.message.addressing.EndpointReferenceType epr)
                           throws java.lang.Exception
Create a stub for the specified service.

Throws:
java.lang.Exception