|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInterface
This is a generic interface for interacting with a repository entry that represents a server of some sort.
Field Summary |
---|
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
---|
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
Method Summary | |
---|---|
void |
addComputeTask(MetadataInterface task)
Add a compute task to this server. |
void |
addDataPackage(com.sas.services.information.metadata.DeployedDataPackageInterface dataPackage)
Add a DeployedDataPackage to the server as a DataPackage. |
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. |
void |
addServiceType(ServiceTypeInterface serviceType)
Add a service type to this server. |
void |
addSourceConnection(ConnectionInterface connection)
Add a connection definition that can be used to access this server. |
java.lang.String |
getApplicationProtocol()
Get the application protocol string for the server. |
java.lang.String |
getClassIdentifier()
Get the class identifier string for the server. |
java.util.List |
getComputeTasks(boolean gotoServer)
Get the compute tasks for this server instance. |
java.util.List |
getConnectionProperties()
Get the properties from the (first) connection. |
java.util.List |
getDataPackages()
Get a list of the data packages (files) that exist on the server. |
SoftwareComponentInterface |
getDescriptiveComponent()
Get the server's descriptive component if one exits. |
java.util.List |
getDomains()
Get a list of the authentication domains that the server is running in. |
java.lang.String |
getHost()
Get the DNS name for the host the server is running on. |
java.lang.String |
getInstallationLocation()
|
boolean |
getIsLicensed()
Get the isLicensed attribute for this server. |
java.lang.String |
getMachine()
Get the DNS name of the machine the server instance is running on. |
java.lang.String |
getPlatform()
Get the server's platform string. |
java.util.List |
getProperties()
Get a List of the properties associated with this server. |
java.util.List |
getProperties(java.lang.String name)
Get all properties matching a name. |
PropertyInterface |
getProperty(java.lang.String name)
Get a named property for this server. |
java.util.List |
getServed()
Get a list of components that are served by this server. |
java.util.List |
getServers()
Get a list of servers that this server uses. |
java.util.List |
getServiceTypeObjects()
Get a List containing the ServiceType objects associated to this server. |
java.util.List |
getServiceTypes()
Get a list of the service types for this server. |
java.util.List |
getSourceConnections()
Get a List of the connection definitions that provide access to this server. |
int |
getTcpPort()
Get the port number the server is listening on. |
void |
removeComputeTask(MetadataInterface task)
Remove a compute task from this server. |
void |
removeDataPackage(com.sas.services.information.metadata.DeployedDataPackageInterface dataPackage)
Remove a data package from the server. |
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 |
removeServiceType(ServiceTypeInterface serviceType)
Remove a service type from this server. |
void |
removeSourceConnection(ConnectionInterface connection)
Remove a connection definition from the list that can access this server. |
void |
setApplicationProtocol(java.lang.String protocol)
Set the application protocol string for the server. |
void |
setClassIdentifier(java.lang.String protocol)
Set the class identifier string for the server. |
void |
setHost(java.lang.String host)
Set the DNS name of the host where the server is running. |
void |
setInstallationLocation(java.lang.String location)
|
void |
setIsLicensed(boolean value)
Set isLicensed value for this server. |
void |
setMachine(java.lang.String machineName)
Set the machine name this server instance is running on. |
void |
setPlatform(java.lang.String platform)
Set the server's platform string. |
void |
setTcpPort(int port)
Set the port number the server is listening on. |
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
Method Detail |
---|
java.lang.String getHost() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setHost(java.lang.String host) throws ServiceException, java.rmi.RemoteException
host
- The host name.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.int getTcpPort() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setTcpPort(int port) throws ServiceException, java.rmi.RemoteException
port
- The port number;
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getDomains() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getApplicationProtocol() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setApplicationProtocol(java.lang.String protocol) throws ServiceException, java.rmi.RemoteException
protocol
- The new application protocol string.
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getClassIdentifier() throws ServiceException, java.rmi.RemoteException
getClassIdentifier
in interface SoftwareComponentInterface
ServiceException
- If a service level error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setClassIdentifier(java.lang.String protocol) throws ServiceException, java.rmi.RemoteException
setClassIdentifier
in interface SoftwareComponentInterface
protocol
- The new application protocol string.
ServiceException
- in case of a repository error.
java.rmi.RemoteException
- in the event of remote object failure.java.lang.String getPlatform() throws ServiceException, java.rmi.RemoteException
getPlatform
in interface SoftwareComponentInterface
ServiceException
- if a server error occurs.
java.rmi.RemoteException
- in the event of remote object failure.void setPlatform(java.lang.String platform) throws ServiceException, java.rmi.RemoteException
setPlatform
in interface SoftwareComponentInterface
platform
- A String indicating the server's platform.
ServiceException
- if a server error occurs.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getProperties() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.PropertyInterface getProperty(java.lang.String name) throws ServiceException, java.rmi.RemoteException
name
- The name of the property to retrieve.
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getProperties(java.lang.String name) throws ServiceException, java.rmi.RemoteException
name
- The name to search for.
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.void addProperty(PropertyInterface property) throws ServiceException, java.rmi.RemoteException
property
- A new Property object to add to this server's properties.
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.void removeProperty(PropertyInterface property) throws ServiceException, java.rmi.RemoteException
property
- property to remove
ServiceException
- in the event of Service object failure.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getServers() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.void addServer(ServerInterface server) throws ServiceException, java.rmi.RemoteException
server
- A new Server to add to the list used by this one.
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.void removeServer(ServerInterface server) throws ServiceException, java.rmi.RemoteException
server
- Server to remove from the list for this server.
ServiceException
- In the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getServed() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.void addServed(ServerInterface server) throws ServiceException, java.rmi.RemoteException
server
- a new server to add to the list that use this server.
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.void removeServed(ServerInterface server) throws ServiceException, java.rmi.RemoteException
server
- The server to remove from the served by list.
ServiceException
- in the event of service object failure.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getServiceTypes() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the event of repository failure.
java.rmi.RemoteException
- in the event of remote object failure.java.util.List getDataPackages() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the event of repository failure.
java.rmi.RemoteException
- in the event of remote object failure.void addDataPackage(com.sas.services.information.metadata.DeployedDataPackageInterface dataPackage) throws ServiceException, java.rmi.RemoteException
dataPackage
- The DeployedDataPackage to add.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeDataPackage(com.sas.services.information.metadata.DeployedDataPackageInterface dataPackage) throws ServiceException, java.rmi.RemoteException
dataPackage
- The data package to remove.
ServiceException
- If a server error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getConnectionProperties() throws ServiceException, java.rmi.RemoteException
ServiceException
- in the event of repository error.
java.rmi.RemoteException
- in the event of remote object failure.SoftwareComponentInterface getDescriptiveComponent() throws ServiceException, java.rmi.RemoteException
SoftwareComponentInterface
object that describes this
deployed component.
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setMachine(java.lang.String machineName) throws ServiceException, java.rmi.RemoteException
machineName
- The DNS name of the machine the server is running on.
ServiceException
- if a server error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getMachine() throws ServiceException, java.rmi.RemoteException
ServiceException
- if a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getSourceConnections() throws ServiceException, java.rmi.RemoteException
ConnectionInterface
objects that can be used to
access this server.
ServiceException
- If a server error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addSourceConnection(ConnectionInterface connection) throws ServiceException, java.rmi.RemoteException
connection
- A ConnectionInterface
object that can be used to
access this server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeSourceConnection(ConnectionInterface connection) throws ServiceException, java.rmi.RemoteException
connection
- The ConnectionInterface
object to remove from the
server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.boolean getIsLicensed() throws ServiceException, java.rmi.RemoteException
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void setIsLicensed(boolean value) throws ServiceException, java.rmi.RemoteException
value
- True or false; setting of the isLicensed attribute.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getServiceTypeObjects() throws ServiceException, java.rmi.RemoteException
ServiceTypeInterface
objects. Describing the
services offered by this server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addServiceType(ServiceTypeInterface serviceType) throws ServiceException, java.rmi.RemoteException
serviceType
- A ServiceTypeInterface
object to associate with this
server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeServiceType(ServiceTypeInterface serviceType) throws ServiceException, java.rmi.RemoteException
serviceType
- The ServiceTypeInterface
object to disassociate from
this server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.util.List getComputeTasks(boolean gotoServer) throws ServiceException, java.rmi.RemoteException
gotoServer
- if true, force a trip to the server for the data. If false,
take the default behavior (go to the server if the data has
not been retrieved, but don't go to the server if the data is
already in the cache).
MetadataInterface
objects representing the
compute tasks for this server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void addComputeTask(MetadataInterface task) throws ServiceException, java.rmi.RemoteException
task
- The task to add to this server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.void removeComputeTask(MetadataInterface task) throws ServiceException, java.rmi.RemoteException
task
- The task to add to this server.
ServiceException
- If a repository error occurs.
java.rmi.RemoteException
- In the event of remote object failure.java.lang.String getInstallationLocation() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
void setInstallationLocation(java.lang.String location) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |