|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.client.bindings.impl.CmisBindingsHelper
public final class CmisBindingsHelper
A collection of static methods that are used in multiple places within the bindings implementation.
Field Summary | |
---|---|
static String |
ACCEPT_LANGUAGE
|
static String |
AUTHENTICATION_PROVIDER_OBJECT
|
static String |
REPOSITORY_INFO_CACHE
|
static String |
SPI_OBJECT
|
static String |
TYPE_DEFINTION_CACHE
|
Method Summary | |
---|---|
static AuthenticationProvider |
getAuthenticationProvider(BindingSession session)
Returns the authentication provider from the session or null
if no authentication provider is set. |
static RepositoryInfoCache |
getRepositoryInfoCache(BindingSession session)
Returns the repository info cache from the session. |
static CmisSpi |
getSPI(BindingSession session)
Gets the SPI object for the given session. |
static TypeDefinitionCache |
getTypeDefinitionCache(BindingSession session)
Returns the type definition cache from the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String REPOSITORY_INFO_CACHE
public static final String TYPE_DEFINTION_CACHE
public static final String SPI_OBJECT
public static final String AUTHENTICATION_PROVIDER_OBJECT
public static final String ACCEPT_LANGUAGE
Method Detail |
---|
public static CmisSpi getSPI(BindingSession session)
session
- the session object
public static AuthenticationProvider getAuthenticationProvider(BindingSession session)
null
if no authentication provider is set.
public static RepositoryInfoCache getRepositoryInfoCache(BindingSession session)
public static TypeDefinitionCache getTypeDefinitionCache(BindingSession session)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |