KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > media > registry > ManagedMediaFormatRegistryMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.media.registry;
8
9 /**
10  * MBean interface.
11  */

12 public interface ManagedMediaFormatRegistryMBean extends org.jboss.system.ServiceMBean
13 {
14
15    void bind(java.lang.String JavaDoc fileExtension, javax.emb.MediaFormat mediaFormat)
16          throws javax.emb.FormatAlreadyBoundException;
17
18    void rebind(java.lang.String JavaDoc fileExtension, javax.emb.MediaFormat mediaFormat);
19
20    void unbind(java.lang.String JavaDoc fileExtension) throws javax.emb.FormatNotFoundException;
21
22    javax.emb.MediaFormat lookup(java.lang.String JavaDoc fileExtension) throws javax.emb.FormatNotFoundException;
23
24    java.util.Iterator JavaDoc fileExtensions();
25
26 }
27
Popular Tags