|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object
|
+--com.sas.services.information.metadata.VirtualMetadata
|
+--com.sas.services.information.metadata.LdapLogicalServer
LDAP repository representation of a logical server.
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Constructor Summary | |
LdapLogicalServer(LdapServer[] servers)
|
|
| Method Summary | |
void |
addProperty(PropertyInterface property)
Add a property to the set of properties for this server. |
void |
addServed(ServerInterface server)
Add a new server to the list of servers that use this server. |
void |
addServer(ServerInterface server)
Add a new server to the list of servers that this server uses. |
String |
getApplicationProtocol()
Get the application protocol string for the server. |
String |
getClassIdentifier()
Get the class identifier string for the server. |
List |
getConnectionProperties()
Get the properties from the (first) connection. |
List |
getDataPackages()
Get a list of the data packages (files) that exist on the server. |
List |
getDomains()
Get a list of the authentication domains that the server is running in. |
String |
getHost()
Get the DNS name for the host the server is running on. |
List |
getProperties()
Get a List of the properties associated with this server. |
List |
getProperties(String name)
Get all properties matching a name. |
PropertyInterface |
getProperty(String name)
Get a named property for this server. |
List |
getServed()
Get a list of components that are served by this server. |
List |
getServers()
Get a list of servers that this server uses. |
List |
getServiceTypes()
Get a list of the service types for this server. |
int |
getTcpPort()
Get the port number the server is listening on. |
String |
getType()
Get the object type. |
void |
removeProperty(PropertyInterface property)
Remove a property from the server. |
void |
removeServed(ServerInterface server)
Remove a server from the list that's served by this server. |
void |
removeServer(ServerInterface server)
Remove a server from the list used by this server. |
void |
setApplicationProtocol(String protocol)
Set the application protocol string for the server. |
void |
setHost(String host)
Set the DNS name of the host where the server is running. |
void |
setTcpPort(int port)
Set the port number the server is listening on. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LdapLogicalServer(LdapServer[] servers)
throws RemoteException
| Method Detail |
public String getType()
throws RemoteException
MetadataInterfacegetType in interface MetadataInterfacegetType in class VirtualMetadatacom.sas.services.information.metadata.MetadataInterfaceRemoteException - if an error occurs
public String getClassIdentifier()
throws RemoteException
getClassIdentifier in interface ServerInterface
public List getServiceTypes()
throws ServiceException,
RemoteException
getServiceTypes in interface ServerInterfaceServiceException - in the event of repository failure.RemoteException - in the event of remote object failure.
public String getHost()
throws RemoteException
ServerInterfacegetHost in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceRemoteException - in the event of remote object failure.
public void setHost(String host)
throws RemoteException
ServerInterfacesetHost in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfacehost - The host name.RemoteException - in the event of remote object failure.
public int getTcpPort()
throws RemoteException
ServerInterfacegetTcpPort in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceRemoteException - in the event of remote object failure.
public void setTcpPort(int port)
throws RemoteException
ServerInterfacesetTcpPort in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceport - The port number;RemoteException - in the event of remote object failure.
public List getDomains()
throws RemoteException
ServerInterfacegetDomains in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceRemoteException - in the event of remote object failure.
public String getApplicationProtocol()
throws RemoteException
ServerInterfacegetApplicationProtocol in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceRemoteException - in the event of remote object failure.
public void setApplicationProtocol(String protocol)
throws RemoteException
ServerInterfacesetApplicationProtocol in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceprotocol - The new application protocol string.RemoteException - in the event of remote object failure.
public List getProperties()
throws ServiceException,
RemoteException
ServerInterfacegetProperties in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public PropertyInterface getProperty(String name)
throws ServiceException,
RemoteException
ServerInterfacegetProperty in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfacename - The name of the property to retrieve.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public List getProperties(String name)
throws ServiceException,
RemoteException
ServerInterfacegetProperties in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfacename - The name to search for.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void addProperty(PropertyInterface property)
throws ServiceException,
RemoteException
ServerInterfaceaddProperty in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceproperty - A new Property object to add to this server's properties.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void removeProperty(PropertyInterface property)
throws ServiceException,
RemoteException
ServerInterfaceremoveProperty in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceproperty - property to removeServiceException - in the event of Service object failure.RemoteException - in the event of remote object failure.
public List getServers()
throws ServiceException,
RemoteException
ServerInterfacegetServers in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void addServer(ServerInterface server)
throws ServiceException,
RemoteException
ServerInterfaceaddServer in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceserver - A new Server to add to the list used by this one.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void removeServer(ServerInterface server)
throws ServiceException,
RemoteException
ServerInterfaceremoveServer in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceserver - Server to remove from the list for this server.ServiceException - In the event of service object failure.RemoteException - in the event of remote object failure.
public List getServed()
throws ServiceException,
RemoteException
ServerInterfacegetServed in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void addServed(ServerInterface server)
throws ServiceException,
RemoteException
ServerInterfaceaddServed in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceserver - a new server to add to the list that use this server.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void removeServed(ServerInterface server)
throws ServiceException,
RemoteException
ServerInterfaceremoveServed in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceserver - The server to remove from the served by list.ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public List getDataPackages()
throws ServiceException,
RemoteException
ServerInterfacegetDataPackages in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceServiceException - in the event of repository failure.RemoteException - in the event of remote object failure.
public List getConnectionProperties()
throws ServiceException,
RemoteException
ServerInterfacegetConnectionProperties in interface ServerInterfacecom.sas.services.information.metadata.ServerInterfaceServiceException - in the event of repository error.RemoteException - in the event of remote object failure.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||