public final class CanonicalResource
extends java.lang.Object
PortableResource| Constructor and Description |
|---|
CanonicalResource(Ref ref, Digest digest, java.lang.Object canonicalData) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCanonicalData()
Returns the canonical (in-memory) value for this resource
|
Digest |
getDigest()
Returns the digest for this resource
|
Ref |
getRef()
Returns the reference for this resource
|
PortableResource |
toPortableResource(ConfigService configService, com.bea.wli.security.encryption.PBE_EncryptionService es)
Converts to portable (serialized) representation of this canonical resource while optionally encrypting it.
|
public Ref getRef()
public Digest getDigest()
public java.lang.Object getCanonicalData()
public PortableResource toPortableResource(ConfigService configService, com.bea.wli.security.encryption.PBE_EncryptionService es) throws java.lang.Exception
configService - the config servicees - the encryption service. If null, no encryption is performed. If non-null the serialized data may be encrypted. Whether or how the data is encrypted depends on the type of the resourcejava.lang.ExceptionPortableResource.toCanonicalResource(com.bea.wli.config.ConfigService, com.bea.wli.security.encryption.PBE_DecryptionService)