Package javax.emb

Interface Summary
Media (src) This basic interface is used throughout Enterprise Media Beans to define the most common behavior for media objects.
MediaConverter (src) A media converter performs actual conversions of media content.
MediaConverterSpec (src) An instance of a class implementing this interface collects all properties necessary to perform a conversion from a specific source format to a specific target format.
MediaEntityLocal (src) This basic interface extends the Media (src) interface with behavior common to all kinds of media objects that are persistent and can be altered.
MediaEntityLocalHome (src) This interface defines the local home interface of media entity EJBs and offers services to create and to query persistent and mutable media objects.
MediaFormat (src) This interface is used throughout Enterprise Media Beans for operations that require knowledge of the media format.
MediaHeader (src) The interface MediaHeader defines the common behavior between media header implementations.
MediaListener (src) This interface defines the common behavior of media listener.
MetaDataEntityLocal (src) This basic interface defines behavior common to all kinds of metadata objects that are persistent and can be altered.
MetaDataEntityLocalHome (src) This interface defines the local home interface of metadata entity EJBs and therefore services relevant for local, persistent and mutable metadata objects.
 

Class Summary
GenericMediaFormat (src) This class offers a generic implementation of the MediaFormat (src) interface for use with all kinds of embedded media formats.
GenericMediaHeader (src) This class offers a generic implementation of the MediaHeader interface.
MediaBean (src) This class implements the Media interface and models media objects that are transient, immutable, and local.
MediaFormatRegistry (src) This singleton class manages the different header types and allows the generic selection of a format bean suitable for a given media.
MediaSegment (src) This class models a portion of a (usually non-embedded) medium that is optionally followed by a reference to an external media file represented by a media location URL.
ProtocolConstraints (src) This class models constraints that restrict the selection of protocol servers, like stream servers.
 

Exception Summary
ContentAccessException (src) This exception is thrown whenever access to media content fails, be it because a file is not found, there's missing access rights to a file or subsystem, a subsystem or file is temporarily blocked for access, or content transmission fails.
ContentTooLargeException (src) This exception is thrown whenever the creation of a byte array is attempted that exceeds 2GB in size (the current hard limit of byte array size in Java).
ContentUnmutableException (src) This exception is thrown during MediaEntityLocal.setContent() whenever the content cannot be manually changed on the entity.
ConversionException (src) This is thrown if the actual conversion of media content from one format to another fails and the reason for this is not related to the media formats involved, but rather because of a limitation of the converter.
FormatAlreadyBoundException (src) This exception is thrown whenever a media format cannot be bound to the media format registry because another media format instance is already bound for the file extension specified.
FormatFeatureException (src) This exception is thrown whenever media content matches the overall syntax defined for a media format, but uses a feature that is not supported by the media format implementation, for example a specific sub-format.
FormatNotFoundException (src) This exception is thrown whenever a media format cannot be determined.
FormatSyntaxException (src) This exception is thrown whenever media content does not match the syntax defined for its media format.
IllegalOptionException (src) This exception is thrown during MetaDataEntityLocalHome.query() whenever a specified option is not valid for the specified query language.
LinkTranslationException (src) This exception is thrown whenever a problem occurs translating a child link contained in non-embedded media content into a location URL or vice versa, for example because a relative filename is present when only absolute links are allowed.
ListenerVetoException (src) This exception extends javax.emb.MediaException and is thrown by Media entity listener EJBs in order to issue a veto against a media entity EJB modification.
LocationUnmutableException (src) This exception is thrown during MediaEntityLocal.setLocation(...) whenever the location can not be manually changed on the entity.
MalformedLocationException (src) This exception is thrown if a location URL is not a valid URL, or if it does not have a supported protocol type (like example "file").
MalformedQueryException (src) This exception is thrown during MetaDataEntityLocalHome.query(...) whenever a specified query statement is not valid for the specified query language.
MediaException (src) This exception is root to most application specific exceptions thrown by Enterprise Media Beans components.
MediaFormatException (src) This exception is thrown whenever a problem occurs in dealing with a media format.
MetaDataSyntaxException (src) This exception is thrown during MetaDataEntityLocal.getXML() whenever the XML metadata given is not well formed.
MetaDataValidationException (src) This exception is thrown during MetaDataEntityLocal.setXML() whenever the XML metadata validation fails.
NoServerFoundException (src) This exception is thrown if no suitable protocol server is found during publish operations.
ParentAssociationExistsException (src) This exception is thrown if a media entity EJB cannot be removed because it has parents that contain links pointing to the receiver.
PredecessorAssociationExistsException (src) This exception is thrown if a media entity EJB cannot be removed because it has associations to a previous version in the version chain.
UnsupportedQueryLanguageException (src) This exception is thrown during MetaDataEntityLocalHome.query() whenever a specified query language is not supported
VersionChainIntegrityException (src) This exception is thrown if there is a problem altering a media entity previous version association.