public interface CodecFactory
This interface provides support for a human-readable export format of profile
attributes of a type defined outside the scope of JAIN SLEE. Codec factories
produce codecs
, which can convert back and forth between an object
and a corresponding string form.
A codec factory can be included in a profile specification component jar if profile
specification components included in the jar define profile CMP attributes of a
non-standard type. The presence of a codec factory is indicated using the
oc-profile-spec-jar.xml
deployment descriptor in the jar. Codec factories
must be public, must implement this interface, and must have a public no-arg
constructor.
Modifier and Type | Method and Description |
---|---|
Codec<?> |
getCodec(String type)
Get a codec for the specified type.
|
Codec<?> getCodec(String type)
Get a codec for the specified type.
type
- the fully-qualified class name of the type to get a codec for.
The type will always be a non-array type such as java.lang.String
.null
if no codec is available
for the specified type.