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 Object


Field Summary
static String ACL_SERVICE
           
protected static int CHUNK_SIZE
           
static String CMIS_NAMESPACE
           
static String DISCOVERY_SERVICE
           
static String MULTIFILING_SERVICE
           
static String NAVIGATION_SERVICE
           
static String OBJECT_SERVICE
           
static String POLICY_SERVICE
           
static String RELATIONSHIP_SERVICE
           
static String REPOSITORY_SERVICE
           
protected  BindingSession session
           
static String VERSIONING_SERVICE
           
 
Constructor Summary
AbstractPortProvider()
           
 
Method Summary
protected abstract  Object createPortObject(javax.xml.ws.Service service)
          Creates a port object.
 void endCall(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  Object getPortObject(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.
 VersioningServicePort getVersioningServicePort()
          Return the Versioning Service port object.
protected  javax.xml.ws.Service initServiceObject(String serviceKey)
          Creates a service object.
 
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 String CMIS_NAMESPACE
See Also:
Constant Field Values

REPOSITORY_SERVICE

public static final String REPOSITORY_SERVICE
See Also:
Constant Field Values

OBJECT_SERVICE

public static final String OBJECT_SERVICE
See Also:
Constant Field Values

DISCOVERY_SERVICE

public static final String DISCOVERY_SERVICE
See Also:
Constant Field Values

NAVIGATION_SERVICE

public static final String NAVIGATION_SERVICE
See Also:
Constant Field Values

MULTIFILING_SERVICE

public static final String MULTIFILING_SERVICE
See Also:
Constant Field Values

VERSIONING_SERVICE

public static final String VERSIONING_SERVICE
See Also:
Constant Field Values

RELATIONSHIP_SERVICE

public static final String RELATIONSHIP_SERVICE
See Also:
Constant Field Values

POLICY_SERVICE

public static final String POLICY_SERVICE
See Also:
Constant Field Values

ACL_SERVICE

public static final String ACL_SERVICE
See Also:
Constant Field Values

CHUNK_SIZE

protected static final int CHUNK_SIZE
See Also:
Constant Field Values

session

protected BindingSession session
Constructor Detail

AbstractPortProvider

public AbstractPortProvider()
Method Detail

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(Object portObject)

getPortObject

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


initServiceObject

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


createPortObject

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



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