public class RootServiceImpl extends DefaultComponent implements RootService
| Modifier and Type | Field and Description |
|---|---|
protected List<RootDescriptor> |
config |
lastModified| Constructor and Description |
|---|
RootServiceImpl() |
deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderprotected List<RootDescriptor> config
public RootServiceImpl()
public void activate(ComponentContext context)
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextpublic KeyStore getRootKeyStore()
getRootKeyStore in interface RootServicepublic void setRootKeyStore(KeyStore rootKeyStore)
setRootKeyStore in interface RootServicepublic String getRootKeystoreFilePath()
getRootKeystoreFilePath in interface RootServicepublic void setRootKeystoreFilePath(String rootKeystoreFilePath)
setRootKeystoreFilePath in interface RootServicepublic String getRootKeystorePassword()
getRootKeystorePassword in interface RootServicepublic void setRootKeystorePassword(String rootKeystorePassword)
setRootKeystorePassword in interface RootServicepublic String getRootCertificateAlias()
getRootCertificateAlias in interface RootServicepublic void setRootCertificateAlias(String rootCertificateAlias)
setRootCertificateAlias in interface RootServicepublic String getRootKeyAlias()
getRootKeyAlias in interface RootServicepublic void setRootKeyAlias(String rootKeyAlias)
setRootKeyAlias in interface RootServicepublic String getRootKeyPassword()
getRootKeyPassword in interface RootServicepublic void setRootKeyPassword(String rootKeyPassword)
setRootKeyPassword in interface RootServicepublic boolean isRootSetup()
isRootSetup in interface RootServiceprotected void initializeRoot() throws CertException
CertExceptionpublic KeyStore getKeyStore(InputStream keystoreIS, String password) throws CertException
CertExceptionpublic InputStream getRootKeystoreIS() throws CertException
getRootKeystoreIS in interface RootServiceCertExceptionpublic byte[] getRootPublicCertificate() throws CertException
getRootPublicCertificate in interface RootServiceCertExceptionprotected X509Certificate getCertificate(KeyStore ks, String certificateAlias) throws CertException
CertExceptionpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws CertException
registerContribution in class DefaultComponentCertExceptionpublic void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution in class DefaultComponentCopyright © 2018 Nuxeo. All rights reserved.