|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int HTTP_PORT
public static final int FTP_PORT
public static final int HTTPS_PORT
Method Detail |
public String getID() throws RemoteException
RemoteException
- if a remote exception occurspublic int getPriority() throws RemoteException
RemoteException
- if a remote exception occurspublic String getBasePath() throws RemoteException
RemoteException
- if a remote exception occurspublic URL getBaseURL() throws RemoteException
RemoteException
- if a remote exception occurspublic String getIndexPath() throws RemoteException
RemoteException
- if a remote exception occurspublic URL getIndexURL() throws RemoteException
RemoteException
- if a remote exception occurspublic boolean getEnabled() throws RemoteException
RemoteException
- if a remote exception occurspublic boolean getTrusted() throws RemoteException
RemoteException
- if a remote exception occurspublic PasswordAuthentication getAuthentication() throws RemoteException
RemoteException
- if a remote exception occurspublic RequestIdentifier getRequestIdentifier() throws RemoteException
RemoteException
- if a remote exception occurspublic LayoutModel getLayoutModel() throws RemoteException
RemoteException
- if a remote exception occurspublic void addHostListener(HostListener listener) throws RemoteException
listener
- the host change listener to add
RemoteException
- if a remote exception occurspublic 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 |