|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.services.information.metadata.OMRProxyList
public class OMRProxyList
OMRProxyList
| Field Summary | |
|---|---|
static com.sas.util.UsageVersion |
CURRENT_VERSION
|
static com.sas.util.UsageVersion |
OLDEST_VERSION
|
static java.lang.String |
PROPERTY_PROXYMACHINE_LIST
|
| Fields inherited from class com.sas.services.information.metadata.Metadata |
|---|
_actionInterfaces, _children, _isCompatible, _isDestroyPending, _isReadCompatible, _myRefreshInterval, _myState, _omrCreateDate, _omrModifyDate, _repository, _repositoryFlag, _repositoryObject, _treeRefreshTime, formats, gmtZone, OMSOBJ_STRING, REPOSITORY_DAV, REPOSITORY_LOMR, REPOSITORY_NONE, REPOSITORY_OMR, SLASH |
| 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 |
| Constructor Summary | |
|---|---|
OMRProxyList()
Default constructor for the OMRProxyList class |
|
OMRProxyList(java.lang.Class theClass)
|
|
OMRProxyList(com.sas.metadata.remote.ServerComponent component)
|
|
OMRProxyList(com.sas.metadata.remote.ServerComponent o,
java.lang.Class theClass)
|
|
OMRProxyList(com.sas.metadata.remote.impl.ServerComponentImpl o)
|
|
| Method Summary | |
|---|---|
void |
addSourceConnection(ConnectionInterface connection)
Add a connection definition that can be used to access this server. |
java.lang.String |
generateNextProxyName()
Generates the name of the next proxy in this proxy list. |
java.util.List |
getConnectionProperties()
Get the properties from the (first) connection. |
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.util.List<java.lang.String> |
getProxiedMachines()
Returns the list of machines configured to use this proxy. |
java.util.List<ProxyInterface> |
getProxies()
Returns a list of ProxyInterfaces representing the proxies |
java.util.List<java.lang.String> |
getProxyURIs()
Returns the list of proxies as URI strings |
java.util.List |
getSourceConnections()
Get a List of the connection definitions that provide access to this server. |
com.sas.storage.editableproperties.PropertyList |
getSubstitutionProperties()
|
int |
getTcpPort()
Get the port number the server is listening on. |
void |
removeSourceConnection(ConnectionInterface connection)
Remove a connection definition from the list that can access this server. |
void |
setHost(java.lang.String host)
Set the DNS name of the host where the server is running. |
void |
setProxiedMachines(java.util.List<java.lang.String> machines)
Sets the list of machines configured to use this proxy. |
void |
setProxies(java.util.List<ProxyInterface> proxies)
Sets the list of proxies based on the given ProxyInterface list. |
void |
setProxyURIs(java.util.List<java.lang.String> uris)
Sets the list of proxies based on the given URI strings |
void |
setSubstitutionProperties(com.sas.storage.editableproperties.PropertyMap map)
|
void |
setTcpPort(int port)
Set the port number the server is listening on. |
| Methods inherited from interface com.sas.services.information.metadata.ServerComponentInterface |
|---|
getInitProcesses |
| Methods inherited from interface com.sas.services.information.metadata.ServerInterface |
|---|
addComputeTask, addDataPackage, addProperty, addServed, addServer, addServiceType, getApplicationProtocol, getClassIdentifier, getComputeTasks, getDataPackages, getDescriptiveComponent, getInstallationLocation, getIsLicensed, getMachine, getPlatform, getProperties, getProperties, getProperty, getServed, getServers, getServiceTypeObjects, getServiceTypes, removeComputeTask, removeDataPackage, removeProperty, removeServed, removeServer, removeServiceType, setApplicationProtocol, setClassIdentifier, setInstallationLocation, setIsLicensed, setMachine, setPlatform |
| Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface |
|---|
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor |
| Field Detail |
|---|
public static final com.sas.util.UsageVersion OLDEST_VERSION
public static final com.sas.util.UsageVersion CURRENT_VERSION
public static final java.lang.String PROPERTY_PROXYMACHINE_LIST
| Constructor Detail |
|---|
public OMRProxyList()
throws java.rmi.RemoteException
java.rmi.RemoteException
public OMRProxyList(java.lang.Class theClass)
throws java.rmi.RemoteException
java.rmi.RemoteException
public OMRProxyList(com.sas.metadata.remote.ServerComponent o,
java.lang.Class theClass)
throws java.rmi.RemoteException
java.rmi.RemoteException
public OMRProxyList(com.sas.metadata.remote.impl.ServerComponentImpl o)
throws java.rmi.RemoteException
java.rmi.RemoteException
public OMRProxyList(com.sas.metadata.remote.ServerComponent component)
throws java.rmi.RemoteException
theClass -
java.rmi.RemoteException| Method Detail |
|---|
public java.util.List<java.lang.String> getProxiedMachines()
throws java.rmi.RemoteException,
ServiceException
ProxyListInterface
getProxiedMachines in interface ProxyListInterfacejava.rmi.RemoteException
VersionIncompatibleException
ServiceException
public java.util.List<ProxyInterface> getProxies()
throws java.rmi.RemoteException,
ServiceException
ProxyListInterface
getProxies in interface ProxyListInterfacejava.rmi.RemoteException
VersionIncompatibleException
ServiceException
public java.util.List<java.lang.String> getProxyURIs()
throws java.rmi.RemoteException,
ServiceException
ProxyListInterface
getProxyURIs in interface ProxyListInterfacejava.rmi.RemoteException
ServiceException
public void setProxiedMachines(java.util.List<java.lang.String> machines)
throws java.lang.IllegalArgumentException,
ServiceException,
java.rmi.RemoteException
ProxyListInterface
setProxiedMachines in interface ProxyListInterfacemachines - List containing machine names to use this proxy
java.lang.IllegalArgumentException
ServiceException
java.rmi.RemoteException
public void setProxies(java.util.List<ProxyInterface> proxies)
throws java.rmi.RemoteException,
ServiceException
ProxyListInterface
setProxies in interface ProxyListInterfaceproxies - The list of ProxyInterface objects to set.
java.rmi.RemoteException
ServiceException
public void setProxyURIs(java.util.List<java.lang.String> uris)
throws java.rmi.RemoteException,
ServiceException
ProxyListInterface
setProxyURIs in interface ProxyListInterfaceuris - The list of URI strings to create and set proxy objects for.
java.rmi.RemoteException
ServiceException
public java.lang.String generateNextProxyName()
throws java.rmi.RemoteException,
ServiceException
ProxyListInterface
generateNextProxyName in interface ProxyListInterfacejava.rmi.RemoteException
ServiceException
public com.sas.storage.editableproperties.PropertyList getSubstitutionProperties()
throws com.sas.storage.editableproperties.UnexpectedSubstitutionException
getSubstitutionProperties in interface com.sas.storage.editableproperties.SubstitutionPropertiesgetSubstitutionProperties in class com.sas.services.information.metadata.OMRServerComponentcom.sas.storage.editableproperties.UnexpectedSubstitutionException
public void setSubstitutionProperties(com.sas.storage.editableproperties.PropertyMap map)
throws com.sas.storage.editableproperties.UnexpectedSubstitutionException
setSubstitutionProperties in interface com.sas.storage.editableproperties.SubstitutionPropertiessetSubstitutionProperties in class com.sas.services.information.metadata.OMRServerComponentcom.sas.storage.editableproperties.UnexpectedSubstitutionException
public java.lang.String getHost()
throws ServiceException,
java.rmi.RemoteException
ServerInterface
getHost in interface ServerInterfacegetHost in class com.sas.services.information.metadata.OMRServerServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public void setHost(java.lang.String host)
throws ServiceException,
java.rmi.RemoteException
ServerInterface
setHost in interface ServerInterfacesetHost in class com.sas.services.information.metadata.OMRServerhost - The host name.
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public int getTcpPort()
throws ServiceException,
java.rmi.RemoteException
ServerInterface
getTcpPort in interface ServerInterfacegetTcpPort in class com.sas.services.information.metadata.OMRServerServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public void setTcpPort(int port)
throws ServiceException,
java.rmi.RemoteException
ServerInterface
setTcpPort in interface ServerInterfacesetTcpPort in class com.sas.services.information.metadata.OMRServerport - The port number;
ServiceException - If a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getDomains()
throws ServiceException,
java.rmi.RemoteException
ServerInterface
getDomains in interface ServerInterfacegetDomains in class com.sas.services.information.metadata.OMRServerServiceException - if a service level error occurs.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getConnectionProperties()
throws ServiceException,
java.rmi.RemoteException
OMRServer
getConnectionProperties in interface ServerInterfacegetConnectionProperties in class com.sas.services.information.metadata.OMRServerServiceException - in the event of repository error.
java.rmi.RemoteException - in the event of remote object failure.
public java.util.List getSourceConnections()
throws ServiceException,
java.rmi.RemoteException
ServerInterface
getSourceConnections in interface ServerInterfacegetSourceConnections in class com.sas.services.information.metadata.OMRServerConnectionInterface 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.
public void addSourceConnection(ConnectionInterface connection)
throws ServiceException,
java.rmi.RemoteException
ServerInterface
addSourceConnection in interface ServerInterfaceaddSourceConnection in class com.sas.services.information.metadata.OMRServerconnection - 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.
public void removeSourceConnection(ConnectionInterface connection)
throws ServiceException,
java.rmi.RemoteException
ServerInterface
removeSourceConnection in interface ServerInterfaceremoveSourceConnection in class com.sas.services.information.metadata.OMRServerconnection - The ConnectionInterface object to remove from the
server.
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||