Openwings API Documentation (v1.1)

net.openwings.ui
Interface UserInterfaceRepository


public interface UserInterfaceRepository

This interface describes a service that holds user interface factory classes. Since factories are not required to implement the UserInterfaceFactory interface, this service returns the factory classes instead of the factories themselves.


Method Summary
 UserInterfaceFactory[] getUserInterfaceFactories(java.lang.Class serviceInterface)
          This method is used to obtain user interface factories available that can build a user interface for a particular service interface
 UserInterfaceFactory[] getUserInterfaceFactories(java.lang.Class serviceInterface, java.lang.Class[] desiredUserInterfaceClasses)
          This method is used to obtain user interface factories available that can build a user interface for a particular service interface The factory must be able to produce a user interface that is an instance of one of the specified Java types.
 

Method Detail

getUserInterfaceFactories

public UserInterfaceFactory[] getUserInterfaceFactories(java.lang.Class serviceInterface)
                                                 throws java.rmi.RemoteException
This method is used to obtain user interface factories available that can build a user interface for a particular service interface

Parameters:
serviceInterface - interface of a service, management bean, or other remote object for which a user interface is needed.
Returns:
array of factories
Throws:
java.rmi.RemoteException - For any communication-related exception.

getUserInterfaceFactories

public UserInterfaceFactory[] getUserInterfaceFactories(java.lang.Class serviceInterface,
                                                        java.lang.Class[] desiredUserInterfaceClasses)
                                                 throws java.rmi.RemoteException
This method is used to obtain user interface factories available that can build a user interface for a particular service interface The factory must be able to produce a user interface that is an instance of one of the specified Java types.

Parameters:
serviceInterface - interface of a service, management bean, or other remote object for which a user interface is needed.
desiredUserInterfaceClasses - array of Java types of user interfaces which are acceptable
Returns:
array of factory classes
Throws:
java.rmi.RemoteException - For any communication-related exception.

Openwings API Documentation (v1.1)