1 22 package org.jboss.varia.property; 23 24 import java.beans.PropertyEditor ; 25 import java.util.Properties ; 26 27 import javax.management.ObjectName ; 28 29 import org.jboss.mx.util.ObjectNameFactory; 30 import org.jboss.system.ServiceMBean; 31 32 37 public interface PropertyEditorManagerServiceMBean extends ServiceMBean 38 { 39 40 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.varia:type=Service,name=PropertyEditorManager"); 41 42 44 48 void setBootstrapEditors(String propsString) throws ClassNotFoundException , java.io.IOException ; 49 50 54 void setEditors(Properties props) throws ClassNotFoundException ; 55 56 59 void setEditorSearchPath(String path); 60 String getEditorSearchPath(); 61 62 65 Class [] getRegisteredEditors(); 66 67 69 74 PropertyEditor findEditor(Class type); 75 76 81 PropertyEditor findEditor(String typeName) throws ClassNotFoundException ; 82 83 88 void registerEditor(Class type, Class editorType); 89 90 95 void registerEditor(String typeName, String editorTypeName) throws ClassNotFoundException ; 96 97 } 98 | Popular Tags |