|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyEditorManagerServiceMBean
MBean interface.
Field Summary | |
---|---|
static javax.management.ObjectName |
OBJECT_NAME
The default object name |
Fields inherited from interface org.jboss.system.ServiceMBean |
---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Method Summary | |
---|---|
PropertyEditor |
findEditor(Class type)
Locate a value editor for a given target type. |
PropertyEditor |
findEditor(String typeName)
Locate a value editor for a given target type. |
String |
getEditorSearchPath()
|
Class[] |
getRegisteredEditors()
A list of registered editor classes. |
void |
registerEditor(Class type,
Class editorType)
Register an editor class to be used to editor values of a given target class. |
void |
registerEditor(String typeName,
String editorTypeName)
Register an editor class to be used to editor values of a given target class. |
void |
setBootstrapEditors(String propsString)
Load property editors based on the given properties string. |
void |
setEditors(Properties props)
Set property editors based on the given properties map. |
void |
setEditorSearchPath(String path)
The package names that will be searched for property editors. |
Methods inherited from interface org.jboss.system.ServiceMBean |
---|
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
---|
create, destroy, start, stop |
Field Detail |
---|
static final javax.management.ObjectName OBJECT_NAME
Method Detail |
---|
void setBootstrapEditors(String propsString) throws ClassNotFoundException, IOException
props,
- A string representation of a editor.class=editor.type Properties map for the editors to load.
ClassNotFoundException
IOException
void setEditors(Properties props) throws ClassNotFoundException
props
- Map of type name to editor type name.
ClassNotFoundException
void setEditorSearchPath(String path)
String getEditorSearchPath()
Class[] getRegisteredEditors()
PropertyEditor findEditor(Class type)
type
- The class of the object to be edited.
PropertyEditor findEditor(String typeName) throws ClassNotFoundException
typeName
- The class name of the object to be edited.
ClassNotFoundException
void registerEditor(Class type, Class editorType)
type
- The class of the objetcs to be edited.editorType
- The class of the editor.void registerEditor(String typeName, String editorTypeName) throws ClassNotFoundException
typeName
- The classname of the objetcs to be edited.editorTypeName
- The class of the editor.
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |