Class CmsProviderManaged
java.lang.Object
org.eclipse.dirigible.cms.managed.CmsProviderManaged
- All Implemented Interfaces:
ICmsProvider
public class CmsProviderManaged extends Object implements ICmsProvider
The Class CmsProviderManaged.
-
Field Summary
Fields Modifier and Type Field Description static StringDIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_DESTThe Constant DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_DEST.static StringDIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_KEYThe Constant DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_KEY.static StringNAMEThe Constant NAME.static StringTYPEThe Constant TYPE.Fields inherited from interface org.eclipse.dirigible.cms.api.ICmsProvider
DIRIGIBLE_CMS_DATABASE_DATASOURCE_NAME, DIRIGIBLE_CMS_DATABASE_DATASOURCE_TYPE, DIRIGIBLE_CMS_INTERNAL_ROOT_FOLDER, DIRIGIBLE_CMS_INTERNAL_ROOT_FOLDER_IS_ABSOLUTE, DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD, DIRIGIBLE_CMS_MANAGED_CONFIGURATION_DESTINATION, DIRIGIBLE_CMS_MANAGED_CONFIGURATION_JNDI_NAME, DIRIGIBLE_CMS_MANAGED_CONFIGURATION_KEY, DIRIGIBLE_CMS_MANAGED_CONFIGURATION_NAME, DIRIGIBLE_CMS_PROVIDER, DIRIGIBLE_CMS_PROVIDER_DATABASE, DIRIGIBLE_CMS_PROVIDER_INTERNAL -
Constructor Summary
Constructors Constructor Description CmsProviderManaged() -
Method Summary
Modifier and Type Method Description StringgetName()Gets the name.ObjectgetSession()Gets the session.StringgetType()Gets the type.ObjectlookupCmisSession()Retrieve the CMIS Configuration from the target platform.
-
Field Details
-
DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_KEY
The Constant DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_KEY.- See Also:
- Constant Field Values
-
DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_DEST
The Constant DIRIGIBLE_CMS_MANAGED_CONFIGURATION_AUTH_METHOD_DEST.- See Also:
- Constant Field Values
-
NAME
The Constant NAME.- See Also:
- Constant Field Values
-
TYPE
The Constant TYPE.- See Also:
- Constant Field Values
-
-
Constructor Details
-
CmsProviderManaged
public CmsProviderManaged()
-
-
Method Details
-
getName
Gets the name.- Specified by:
getNamein interfaceICmsProvider- Returns:
- the name
-
getType
Gets the type.- Specified by:
getTypein interfaceICmsProvider- Returns:
- the type
-
getSession
Gets the session.- Specified by:
getSessionin interfaceICmsProvider- Returns:
- the session
-
lookupCmisSession
public Object lookupCmisSession() throws NamingException, NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException, InvocationTargetExceptionRetrieve the CMIS Configuration from the target platform.- Returns:
- the managed CMIS session
- Throws:
NamingException- the naming exceptionNoSuchMethodException- the no such method exceptionSecurityException- the security exceptionIllegalAccessException- the illegal access exceptionIllegalArgumentException- the illegal argument exceptionInvocationTargetException- the invocation target exception
-