|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HostModel
The HostModel interface is implemented by objects that control the the configuration of resource host implementations. An instance of an implementation of HostModel may be passed as a constructor argument to a resource host implmentation. Implementation shall maintain synchronization via change events raised by implementations of this interface.
| Field Summary | |
|---|---|
static int |
FTP_PORT
FTP port number. |
static int |
HTTP_PORT
HTTP port number. |
static int |
HTTPS_PORT
HTTPS port number. |
| Method Summary | |
|---|---|
void |
addHostListener(HostListener listener)
Add a host change listener to the director. |
PasswordAuthentication |
getAuthentication()
Return the host password authentication credentials. |
String |
getBasePath()
Return the host base path. |
URL |
getBaseURL()
Return the host base url. |
boolean |
getEnabled()
Return the enabled status of the host. |
String |
getID()
Return an immutable host identifier. |
String |
getIndexPath()
Return index path. |
URL |
getIndexURL()
Return index url. |
LayoutModel |
getLayoutModel()
Return the layout strategy model. |
int |
getPriority()
Return the host priority. |
RequestIdentifier |
getRequestIdentifier()
Return the host request identifier. |
boolean |
getTrusted()
Return the trusted status. |
void |
removeHostListener(HostListener listener)
Remove a host change listener from the director. |
| Field Detail |
|---|
static final int HTTP_PORT
static final int FTP_PORT
static final int HTTPS_PORT
| Method Detail |
|---|
String getID()
throws RemoteException
RemoteException - if a remote exception occurs
int getPriority()
throws RemoteException
RemoteException - if a remote exception occurs
String getBasePath()
throws RemoteException
RemoteException - if a remote exception occurs
URL getBaseURL()
throws RemoteException
RemoteException - if a remote exception occurs
String getIndexPath()
throws RemoteException
RemoteException - if a remote exception occurs
URL getIndexURL()
throws RemoteException
RemoteException - if a remote exception occurs
boolean getEnabled()
throws RemoteException
RemoteException - if a remote exception occurs
boolean getTrusted()
throws RemoteException
RemoteException - if a remote exception occurs
PasswordAuthentication getAuthentication()
throws RemoteException
RemoteException - if a remote exception occurs
RequestIdentifier getRequestIdentifier()
throws RemoteException
RemoteException - if a remote exception occurs
LayoutModel getLayoutModel()
throws RemoteException
RemoteException - if a remote exception occurs
void addHostListener(HostListener listener)
throws RemoteException
listener - the host change listener to add
RemoteException - if a remote exception occurs
void removeHostListener(HostListener listener)
throws RemoteException
listener - the host change listener to remove
RemoteException - if a remote exception occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||