|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.varia.property.PropertyEditorManagerService
A service to access java.beans.PropertyEditorManager.
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
PropertyEditorManagerService()
|
|
| Method Summary | |
java.beans.PropertyEditor |
findEditor(java.lang.Class type)
Locate a value editor for a given target type. |
java.beans.PropertyEditor |
findEditor(java.lang.String typeName)
Locate a value editor for a given target type. |
java.lang.String |
getEditorSearchPath()
Gets the package names that will be searched for property editors. |
protected ObjectName (src) |
getObjectName(MBeanServer (src) server,
ObjectName (src) name)
Sub-classes should override this method if they only need to set their object name during MBean pre-registration. |
void |
registerEditor(java.lang.Class type,
java.lang.Class editorType)
Register an editor class to be used to editor values of a given target class. |
void |
registerEditor(java.lang.String typeName,
java.lang.String editorTypeName)
Register an editor class to be used to editor values of a given target class. |
void |
setBootstrapEditors(java.lang.String propsString)
Load property editors based on the given properties string. |
void |
setEditors(java.util.Properties props)
Set property editors based on the given properties map. |
void |
setEditorSearchPath(java.lang.String path)
Sets the package names that will be searched for property editors. |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PropertyEditorManagerService()
| Method Detail |
public java.beans.PropertyEditor findEditor(java.lang.Class type)
type - The class of the object to be edited.
public java.beans.PropertyEditor findEditor(java.lang.String typeName)
throws java.lang.ClassNotFoundException
typeName - The class name of the object to be edited.
java.lang.ClassNotFoundException
public void registerEditor(java.lang.Class type,
java.lang.Class editorType)
type - The class of the objetcs to be edited.editorType - The class of the editor.
public void registerEditor(java.lang.String typeName,
java.lang.String editorTypeName)
throws java.lang.ClassNotFoundException
typeName - The classname of the objetcs to be edited.editorTypeName - The class of the editor.
java.lang.ClassNotFoundExceptionpublic java.lang.String getEditorSearchPath()
public void setEditorSearchPath(java.lang.String path)
path - A comma sperated list of package names.
public void setBootstrapEditors(java.lang.String propsString)
throws java.lang.ClassNotFoundException,
java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
public void setEditors(java.util.Properties props)
throws java.lang.ClassNotFoundException
props - Map of type name to editor type name.
java.lang.ClassNotFoundException
protected ObjectName (src) getObjectName(MBeanServer (src) server,
ObjectName (src) name)
throws MalformedObjectNameException (src)
ServiceMBeanSupport (src)
getObjectName in class ServiceMBeanSupport (src) MalformedObjectNameException (src)
|
||||||||||
| PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||