|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VHostManagerIfc
This is VHostManagerIfc interface which allows to access data for virtual domains server by this installation. There can be normally only one instance of this interface implementation loaded on the server at any given time. The instance is responsible for managing all virtual hosts and assigning correct component to each of the virtual hosts or non-local domains. Created: 22 Nov 2008
| Method Summary | |
|---|---|
ServerComponent[] |
getComponentsForLocalDomain(java.lang.String domain)
The method returns an array with server components which can process packets for a given local domain. |
ServerComponent[] |
getComponentsForNonLocalDomain(java.lang.String domain)
The method returns an array of server components which can process packets sent to non-local domain. |
VHostItem |
getVHostItem(java.lang.String domain)
|
boolean |
isAnonymousEnabled(java.lang.String domain)
This method checks whether anonymous login is enabled for a given domain. |
boolean |
isLocalDomain(java.lang.String domain)
This method checks whether given domain is server by this server instance. |
boolean |
isLocalDomainOrComponent(java.lang.String domain)
|
| Method Detail |
|---|
boolean isLocalDomain(java.lang.String domain)
domain - is a String with domain name to check.
boolean isLocalDomainOrComponent(java.lang.String domain)
boolean isAnonymousEnabled(java.lang.String domain)
domain - is a String with domain name to check.
ServerComponent[] getComponentsForLocalDomain(java.lang.String domain)
null is returned. The given domain may also consist of:
component name ServerComponent.getName() plus any local
domain but only if the component returns true from method
call: VHostListener.handlesNameSubdomains()
domain - is a String with a domain name to check. It may
by just a local domain or string created with component name and localdomain.
null if no component found for a given domain.ServerComponent[] getComponentsForNonLocalDomain(java.lang.String domain)
domain - is a String with a domain to check. At the moment
this parameter is ignored. In the future it will be possible to assign a
specific component for any non-local domain.
VHostItem getVHostItem(java.lang.String domain)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||