|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
This is a generic interface for interacting with a repository entry that represents a server of some sort.
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| 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. |
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. |
| Method Detail |
public String getHost()
throws RemoteException
RemoteException - in the event of remote object failure.
public void setHost(String host)
throws RemoteException
host - The host name.RemoteException - in the event of remote object failure.
public int getTcpPort()
throws RemoteException
RemoteException - in the event of remote object failure.
public void setTcpPort(int port)
throws RemoteException
port - The port number;RemoteException - in the event of remote object failure.
public List getDomains()
throws RemoteException
RemoteException - in the event of remote object failure.
public String getApplicationProtocol()
throws RemoteException
RemoteException - in the event of remote object failure.
public void setApplicationProtocol(String protocol)
throws RemoteException
protocol - The new application protocol string.RemoteException - in the event of remote object failure.
public String getClassIdentifier()
throws RemoteException
RemoteException - in the event of remote object failure.
public List getProperties()
throws ServiceException,
RemoteException
ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public PropertyInterface getProperty(String name)
throws ServiceException,
RemoteException
name - 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
name - 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
property - 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
property - property to removeServiceException - in the event of Service object failure.RemoteException - in the event of remote object failure.
public List getServers()
throws ServiceException,
RemoteException
ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void addServer(ServerInterface server)
throws ServiceException,
RemoteException
server - 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
server - 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
ServiceException - in the event of service object failure.RemoteException - in the event of remote object failure.
public void addServed(ServerInterface server)
throws ServiceException,
RemoteException
server - 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
server - 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 getServiceTypes()
throws ServiceException,
RemoteException
ServiceException - in the event of repository failure.RemoteException - in the event of remote object failure.
public List getDataPackages()
throws ServiceException,
RemoteException
ServiceException - in the event of repository failure.RemoteException - in the event of remote object failure.
public List getConnectionProperties()
throws ServiceException,
RemoteException
ServiceException - 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 | |||||||||||||