|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface describes a utility that can be used to obtain a user interface for a service or even an MBean
An implementation of this interface is
obtained using the UserInterfaceBuilderFactory.
| Method Summary | |
java.lang.Object |
buildUserInterface(java.lang.Class serviceInterface,
java.lang.Object serviceObject,
java.lang.Class desiredUserInterfaceClass,
java.lang.Object[] constructorParameters)
This method is used to build a user interface for a service object with no user interface factory specified. |
java.lang.Object |
buildUserInterface(java.lang.Object serviceObject,
java.lang.Class desiredUserInterfaceClass,
java.lang.Object[] constructorParameters,
UserInterfaceFactory factory)
This method is used to build a user interface for a service object using a specified user interface factory. |
| Method Detail |
public java.lang.Object buildUserInterface(java.lang.Object serviceObject,
java.lang.Class desiredUserInterfaceClass,
java.lang.Object[] constructorParameters,
UserInterfaceFactory factory)
throws UserInterfaceException
serviceObject - the service objectdesiredUserInterfaceClass - Java type of user
interface requestedconstructorParameters - arguments to pass to factory method.
These arguments correspond to the method signature of a constructor
of desiredUserInterfaceClass.factory - the user interface factory to use
null if the user interface
could not be built
UserInterfaceException - if there is an error building the
user interface.
public java.lang.Object buildUserInterface(java.lang.Class serviceInterface,
java.lang.Object serviceObject,
java.lang.Class desiredUserInterfaceClass,
java.lang.Object[] constructorParameters)
throws UserInterfaceException
UserInterfaceRepository service.
serviceInterface - interface of a service, management bean, or
other remote object for which a user interface is needed.serviceObject - the service objectdesiredUserInterfaceClass - Java type of user
interface requestedconstructorParameters - arguments to pass to factory method.
These arguments correspond to the method signature of a constructor
of desiredUserInterfaceClass.
null if the user interface
could not be built
UserInterfaceException - if there is an error building the
user interface.
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||