org.apache.chemistry.opencmis.client.bindings.spi.webservices
Class AbstractPortProvider

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider
Direct Known Subclasses:
PortProvider

public abstract class AbstractPortProvider
extends java.lang.Object


Field Summary
protected  java.lang.String acceptLanguage
           
static java.lang.String ACL_SERVICE
           
protected static int CHUNK_SIZE
           
static java.lang.String CMIS_NAMESPACE
           
static java.lang.String DISCOVERY_SERVICE
           
static java.lang.String MULTIFILING_SERVICE
           
static java.lang.String NAVIGATION_SERVICE
           
static java.lang.String OBJECT_SERVICE
           
static java.lang.String POLICY_SERVICE
           
static java.lang.String RELATIONSHIP_SERVICE
           
static java.lang.String REPOSITORY_SERVICE
           
protected  boolean useClientCompression
           
protected  boolean useCompression
           
static java.lang.String VERSIONING_SERVICE
           
 
Constructor Summary
AbstractPortProvider()
           
 
Method Summary
protected abstract  java.lang.Object createPortObject(javax.xml.ws.Service service)
          Creates a port object.
 void endCall(java.lang.Object portObject)
           
 ACLServicePort getACLServicePort()
          Return the ACL Service port object.
 DiscoveryServicePort getDiscoveryServicePort()
          Return the Discovery Service port object.
 MultiFilingServicePort getMultiFilingServicePort()
          Return the MultiFiling Service port object.
 NavigationServicePort getNavigationServicePort()
          Return the Navigation Service port object.
 ObjectServicePort getObjectServicePort()
          Return the Object Service port object.
 PolicyServicePort getPolicyServicePort()
          Return the Policy Service port object.
protected  java.lang.Object getPortObject(java.lang.String serviceKey)
          Gets a port object from the session or (re-)initializes the port objects.
 RelationshipServicePort getRelationshipServicePort()
          Return the Relationship Service port object.
 RepositoryServicePort getRepositoryServicePort()
          Return the Repository Service port object.
 BindingSession getSession()
           
 VersioningServicePort getVersioningServicePort()
          Return the Versioning Service port object.
protected  javax.xml.ws.Service initServiceObject(java.lang.String serviceKey)
          Creates a service object.
 void setSession(BindingSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMIS_NAMESPACE

public static final java.lang.String CMIS_NAMESPACE
See Also:
Constant Field Values

REPOSITORY_SERVICE

public static final java.lang.String REPOSITORY_SERVICE
See Also:
Constant Field Values

OBJECT_SERVICE

public static final java.lang.String OBJECT_SERVICE
See Also:
Constant Field Values

DISCOVERY_SERVICE

public static final java.lang.String DISCOVERY_SERVICE
See Also:
Constant Field Values

NAVIGATION_SERVICE

public static final java.lang.String NAVIGATION_SERVICE
See Also:
Constant Field Values

MULTIFILING_SERVICE

public static final java.lang.String MULTIFILING_SERVICE
See Also:
Constant Field Values

VERSIONING_SERVICE

public static final java.lang.String VERSIONING_SERVICE
See Also:
Constant Field Values

RELATIONSHIP_SERVICE

public static final java.lang.String RELATIONSHIP_SERVICE
See Also:
Constant Field Values

POLICY_SERVICE

public static final java.lang.String POLICY_SERVICE
See Also:
Constant Field Values

ACL_SERVICE

public static final java.lang.String ACL_SERVICE
See Also:
Constant Field Values

CHUNK_SIZE

protected static final int CHUNK_SIZE
See Also:
Constant Field Values

useCompression

protected boolean useCompression

useClientCompression

protected boolean useClientCompression

acceptLanguage

protected java.lang.String acceptLanguage
Constructor Detail

AbstractPortProvider

public AbstractPortProvider()
Method Detail

getSession

public BindingSession getSession()

setSession

public void setSession(BindingSession session)

getRepositoryServicePort

public RepositoryServicePort getRepositoryServicePort()
Return the Repository Service port object.


getNavigationServicePort

public NavigationServicePort getNavigationServicePort()
Return the Navigation Service port object.


getObjectServicePort

public ObjectServicePort getObjectServicePort()
Return the Object Service port object.


getVersioningServicePort

public VersioningServicePort getVersioningServicePort()
Return the Versioning Service port object.


getDiscoveryServicePort

public DiscoveryServicePort getDiscoveryServicePort()
Return the Discovery Service port object.


getMultiFilingServicePort

public MultiFilingServicePort getMultiFilingServicePort()
Return the MultiFiling Service port object.


getRelationshipServicePort

public RelationshipServicePort getRelationshipServicePort()
Return the Relationship Service port object.


getPolicyServicePort

public PolicyServicePort getPolicyServicePort()
Return the Policy Service port object.


getACLServicePort

public ACLServicePort getACLServicePort()
Return the ACL Service port object.


endCall

public void endCall(java.lang.Object portObject)

getPortObject

protected java.lang.Object getPortObject(java.lang.String serviceKey)
Gets a port object from the session or (re-)initializes the port objects.


initServiceObject

protected javax.xml.ws.Service initServiceObject(java.lang.String serviceKey)
Creates a service object.


createPortObject

protected abstract java.lang.Object createPortObject(javax.xml.ws.Service service)
Creates a port object.



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.