Class OMRProxyList
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.sas.services.information.metadata.Metadata
com.sas.services.information.metadata.OMRSoftwareComponent
com.sas.services.information.metadata.OMRServer
com.sas.services.information.metadata.OMRServerComponent
com.sas.services.information.metadata.OMRProxyList
- All Implemented Interfaces:
MetadataInterface,ProxyListInterface,ServerComponentInterface,ServerInterface,SoftwareComponentInterface,PublicObjectInterface,com.sas.storage.editableproperties.SubstitutionProperties,Serializable,Remote
public class OMRProxyList
extends OMRServerComponent
implements ProxyListInterface, com.sas.storage.editableproperties.SubstitutionProperties
OMRProxyList
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.sas.util.UsageVersionstatic final com.sas.util.UsageVersionstatic final StringFields 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, SLASHFields inherited from class java.rmi.server.RemoteObject
refFields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATAFields inherited from interface com.sas.storage.editableproperties.SubstitutionProperties
PROPERTY_SUFFIX_DIRPATH, PROPERTY_SUFFIX_FILEPATH, PROPERTY_SUFFIX_HOST, PROPERTY_SUFFIX_PORT, PROPERTY_SUFFIX_URI -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the OMRProxyList classOMRProxyList(com.sas.metadata.remote.impl.ServerComponentImpl o) OMRProxyList(com.sas.metadata.remote.ServerComponent component) OMRProxyList(com.sas.metadata.remote.ServerComponent o, Class theClass) OMRProxyList(Class theClass) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSourceConnection(ConnectionInterface connection) Add a connection definition that can be used to access this server.StringGenerates the name of the next proxy in this proxy list.ListGet the properties from the (first) connection.ListGet a list of the authentication domains that the server is running in.StringgetHost()Get the DNS name for the host the server is running on.List<String> Returns the list of machines configured to use this proxy.List<ProxyInterface> Returns a list of ProxyInterfaces representing the proxiesList<String> Returns the list of proxies as URI stringsListGet a List of the connection definitions that provide access to this server.com.sas.storage.editableproperties.PropertyListintGet the port number the server is listening on.voidremoveSourceConnection(ConnectionInterface connection) Remove a connection definition from the list that can access this server.voidsetHost(String host) Set the DNS name of the host where the server is running.voidsetProxiedMachines(List<String> machines) Sets the list of machines configured to use this proxy.voidsetProxies(List<ProxyInterface> proxies) Sets the list of proxies based on the given ProxyInterface list.voidsetProxyURIs(List<String> uris) Sets the list of proxies based on the given URI stringsvoidsetSubstitutionProperties(com.sas.storage.editableproperties.PropertyMap map) voidsetTcpPort(int port) Set the port number the server is listening on.Methods inherited from class com.sas.services.information.metadata.OMRServerComponent
getInitProcesses, getType, setRepositoryMethods inherited from class com.sas.services.information.metadata.OMRServer
addComputeTask, addDataPackage, addProperty, addServed, addServer, addServiceType, getApplicationProtocol, getComputeTasks, getDataPackages, getDescriptiveComponent, getInstallationLocation, getIsLicensed, getMachine, getProperties, getProperties, getProperty, getServed, getServers, getServiceTypeObjects, getServiceTypes, removeComputeTask, removeDataPackage, removeProperty, removeServed, removeServer, removeServiceType, setApplicationProtocol, setInstallationLocation, setIsLicensed, setMachine, setNameMethods inherited from class com.sas.services.information.metadata.OMRSoftwareComponent
addDeployedComponent, addPropertyGroup, addSoftwareGroup, addSoftwareTree, getClassIdentifier, getDependentComponents, getDependsOnComponents, getDeployedComponents, getImplementedObjects, getMajor, getMinor, getPlatform, getPrivateConfigurableProperties, getProductIdentifier, getProductName, getPropertyGroups, getPublicConfigurableProperties, getSoftwareComponentAttributes, getSoftwareGroups, getSoftwareTrees, getSoftwareVersion, getSpecVendor, getSpecVersion, getVendor, getVendorIdentifier, removeDeployedComponent, removePropertyGroup, removeSoftwareGroup, removeSoftwareTree, setClassIdentifier, setDeployedComponents, setImplementedObjects, setMajor, setMinor, setPlatform, setProductIdentifier, setProductName, setPropertyGroups, setSoftwareComponentAttributes, setSoftwareGroups, setSoftwareTrees, setSoftwareVersion, setSpecVendor, setSpecVersion, setVendor, setVendorIdentifierMethods inherited from class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addProcessorInterface, addPrompt, addPropertySet, addRemark, addResponsibleParty, addToList, addTransactionListener, addUsedByPrototype, checkin, checkout, checkPulse, clearInformationService, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, deleteRootObject, destroy, fromByteArray, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getContainer, getCreateDate, getCreatedBy, getDefaultLocalizableProperties, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentifier, getIdentities, getImplementors, getInformationService, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getName, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getObjectURI, getParent, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getProcessorInterface, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getTreeRefresh, getTypeDescriptor, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, hashCode, isAuthorized, isCompatible, isConnectionException, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logFormat, logFormat, logFormat, logFormat, logMessage, logMessage, logThrowable, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, refresh, removeAccessControl, removeDocument, removeExtension, removeFromList, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, reset, rollback, setAttribute, setAttributes, setCompatibility, setDefaultLocalizableProperties, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setTreeRefresh, setUsingPrototype, startTransaction, toByteArray, toString, transactionEvent, uncheckout, update, updateFromBag, validateNameAndFolder, validateNameAndFolder, versionMethods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObjectMethods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLogMethods inherited from class java.rmi.server.RemoteObject
equals, getRef, toStubMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptorMethods inherited from interface com.sas.services.information.metadata.ServerComponentInterface
getInitProcessesMethods 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, setPlatformMethods inherited from interface com.sas.services.information.metadata.SoftwareComponentInterface
addDeployedComponent, addPropertyGroup, addSoftwareGroup, addSoftwareTree, getDependentComponents, getDependsOnComponents, getDeployedComponents, getImplementedObjects, getMajor, getMinor, getPrivateConfigurableProperties, getProductIdentifier, getProductName, getPropertyGroups, getPublicConfigurableProperties, getSoftwareComponentAttributes, getSoftwareGroups, getSoftwareTrees, getSoftwareVersion, getSpecVendor, getSpecVersion, getVendor, getVendorIdentifier, removeDeployedComponent, removePropertyGroup, removeSoftwareGroup, removeSoftwareTree, setDeployedComponents, setImplementedObjects, setMajor, setMinor, setProductIdentifier, setProductName, setPropertyGroups, setSoftwareComponentAttributes, setSoftwareGroups, setSoftwareTrees, setSoftwareVersion, setSpecVendor, setSpecVersion, setVendor, setVendorIdentifier
-
Field Details
-
OLDEST_VERSION
public static final com.sas.util.UsageVersion OLDEST_VERSION -
CURRENT_VERSION
public static final com.sas.util.UsageVersion CURRENT_VERSION -
PROPERTY_PROXYMACHINE_LIST
public static final String PROPERTY_PROXYMACHINE_LIST- See Also:
-
-
Constructor Details
-
OMRProxyList
public OMRProxyList() throws RemoteExceptionDefault constructor for the OMRProxyList class- Throws:
RemoteException
-
OMRProxyList
public OMRProxyList(Class theClass) throws RemoteException - Throws:
RemoteException
-
OMRProxyList
public OMRProxyList(com.sas.metadata.remote.ServerComponent o, Class theClass) throws RemoteException - Throws:
RemoteException
-
OMRProxyList
public OMRProxyList(com.sas.metadata.remote.impl.ServerComponentImpl o) throws RemoteException - Throws:
RemoteException
-
OMRProxyList
public OMRProxyList(com.sas.metadata.remote.ServerComponent component) throws RemoteException - Parameters:
theClass-- Throws:
RemoteException
-
-
Method Details
-
getProxiedMachines
Description copied from interface:ProxyListInterfaceReturns the list of machines configured to use this proxy. The string representation of the Machine object is returned- Specified by:
getProxiedMachinesin interfaceProxyListInterface- Returns:
- List containing string representation of Machine objects
- Throws:
RemoteExceptionServiceException
-
getProxies
Description copied from interface:ProxyListInterfaceReturns a list of ProxyInterfaces representing the proxies- Specified by:
getProxiesin interfaceProxyListInterface- Returns:
- List of ProxyInterface objects for the proxies
- Throws:
RemoteExceptionServiceException
-
getProxyURIs
Description copied from interface:ProxyListInterfaceReturns the list of proxies as URI strings- Specified by:
getProxyURIsin interfaceProxyListInterface- Returns:
- List of String objects containing the URIs.
- Throws:
RemoteExceptionServiceException
-
setProxiedMachines
public void setProxiedMachines(List<String> machines) throws IllegalArgumentException, ServiceException, RemoteException Description copied from interface:ProxyListInterfaceSets the list of machines configured to use this proxy. The string representing the machine name is used.- Specified by:
setProxiedMachinesin interfaceProxyListInterface- Parameters:
machines- List containing machine names to use this proxy- Throws:
IllegalArgumentExceptionServiceExceptionRemoteException
-
setProxies
Description copied from interface:ProxyListInterfaceSets the list of proxies based on the given ProxyInterface list.- Specified by:
setProxiesin interfaceProxyListInterface- Parameters:
proxies- The list of ProxyInterface objects to set.- Throws:
RemoteExceptionServiceException
-
setProxyURIs
Description copied from interface:ProxyListInterfaceSets the list of proxies based on the given URI strings- Specified by:
setProxyURIsin interfaceProxyListInterface- Parameters:
uris- The list of URI strings to create and set proxy objects for.- Throws:
RemoteExceptionServiceException
-
generateNextProxyName
Description copied from interface:ProxyListInterfaceGenerates the name of the next proxy in this proxy list.- Specified by:
generateNextProxyNamein interfaceProxyListInterface- Returns:
- The generated name of the next proxy
- Throws:
RemoteExceptionServiceException
-
getSubstitutionProperties
public com.sas.storage.editableproperties.PropertyList getSubstitutionProperties() throws com.sas.storage.editableproperties.UnexpectedSubstitutionException- Specified by:
getSubstitutionPropertiesin interfacecom.sas.storage.editableproperties.SubstitutionProperties- Overrides:
getSubstitutionPropertiesin classOMRServerComponent- Throws:
com.sas.storage.editableproperties.UnexpectedSubstitutionException
-
setSubstitutionProperties
public void setSubstitutionProperties(com.sas.storage.editableproperties.PropertyMap map) throws com.sas.storage.editableproperties.UnexpectedSubstitutionException - Specified by:
setSubstitutionPropertiesin interfacecom.sas.storage.editableproperties.SubstitutionProperties- Overrides:
setSubstitutionPropertiesin classOMRServerComponent- Throws:
com.sas.storage.editableproperties.UnexpectedSubstitutionException
-
getHost
Description copied from interface:ServerInterfaceGet the DNS name for the host the server is running on.- Specified by:
getHostin interfaceServerInterface- Overrides:
getHostin classOMRServer- Returns:
- The host name.
- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
setHost
Description copied from interface:ServerInterfaceSet the DNS name of the host where the server is running.- Specified by:
setHostin interfaceServerInterface- Overrides:
setHostin classOMRServer- Parameters:
host- The host name.- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
getTcpPort
Description copied from interface:ServerInterfaceGet the port number the server is listening on.- Specified by:
getTcpPortin interfaceServerInterface- Overrides:
getTcpPortin classOMRServer- Returns:
- The port number;
- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
setTcpPort
Description copied from interface:ServerInterfaceSet the port number the server is listening on.- Specified by:
setTcpPortin interfaceServerInterface- Overrides:
setTcpPortin classOMRServer- Parameters:
port- The port number;- Throws:
ServiceException- If a service level error occurs.RemoteException- in the event of remote object failure.
-
getDomains
Description copied from interface:ServerInterfaceGet a list of the authentication domains that the server is running in.- Specified by:
getDomainsin interfaceServerInterface- Overrides:
getDomainsin classOMRServer- Returns:
- a List of Strings with the names of the authentication domains the server is running in.
- Throws:
ServiceException- if a service level error occurs.RemoteException- in the event of remote object failure.
-
getConnectionProperties
Description copied from class:OMRServerGet the properties from the (first) connection.- Specified by:
getConnectionPropertiesin interfaceServerInterface- Overrides:
getConnectionPropertiesin classOMRServer- Returns:
- a List of Property objects from the first connection we find, if there are more than one.
- Throws:
ServiceException- in the event of repository error.RemoteException- in the event of remote object failure.
-
getSourceConnections
Description copied from interface:ServerInterfaceGet a List of the connection definitions that provide access to this server.- Specified by:
getSourceConnectionsin interfaceServerInterface- Overrides:
getSourceConnectionsin classOMRServer- Returns:
- A List of
ConnectionInterfaceobjects that can be used to access this server. - Throws:
ServiceException- If a server error occurs.RemoteException- In the event of remote object failure.
-
addSourceConnection
public void addSourceConnection(ConnectionInterface connection) throws ServiceException, RemoteException Description copied from interface:ServerInterfaceAdd a connection definition that can be used to access this server.- Specified by:
addSourceConnectionin interfaceServerInterface- Overrides:
addSourceConnectionin classOMRServer- Parameters:
connection- AConnectionInterfaceobject that can be used to access this server.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeSourceConnection
public void removeSourceConnection(ConnectionInterface connection) throws ServiceException, RemoteException Description copied from interface:ServerInterfaceRemove a connection definition from the list that can access this server.- Specified by:
removeSourceConnectionin interfaceServerInterface- Overrides:
removeSourceConnectionin classOMRServer- Parameters:
connection- TheConnectionInterfaceobject to remove from the server.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-