gr.uoa.di.madgik.environment.is
Class InformationSystemProvider
java.lang.Object
gr.uoa.di.madgik.environment.is.InformationSystemProvider
- All Implemented Interfaces:
- IEnvironmentProvider, IInformationSystemProvider
public class InformationSystemProvider
- extends Object
- implements IInformationSystemProvider
|
Method Summary |
String |
CreateGenericResource(String Content,
Query attributes,
EnvHintCollection Hints)
|
void |
DeleteGenericResource(String ID,
EnvHintCollection Hints)
|
String |
GetGenericByID(String ID,
EnvHintCollection Hints)
|
List<String> |
GetGenericByName(String Name,
EnvHintCollection Hints)
|
String |
GetLocalNodeHostName()
|
String |
GetLocalNodePE2ngPort(EnvHintCollection Hints)
|
String |
GetLocalNodePort()
|
NodeInfo |
GetMatchingNode(String RankingExpression,
String RequirementsExpression,
EnvHintCollection Hints)
|
NodeInfo |
GetMatchingNode(String RankingExpression,
String RequirementsExpression,
gr.uoa.di.madgik.commons.infra.nodeselection.NodeSelector selector,
EnvHintCollection Hints)
|
List<NodeInfo> |
GetMatchingNodes(String RankingExpression,
String RequirementsExpression,
EnvHintCollection Hints)
|
NodeInfo |
GetNode(String NodeID,
EnvHintCollection Hints)
|
NodeInfo |
GetNode(String Hostname,
String Port,
EnvHintCollection Hints)
|
String |
GetOpenSearchGenericByDescriptionDocumentURI(String URI,
EnvHintCollection Hints)
|
static IInformationSystemProvider |
Init(String ProviderName,
EnvHintCollection Hints)
|
static boolean |
IsInit()
|
List<String> |
Query(Query query,
EnvHintCollection Hints)
|
List<String> |
Query(String query,
EnvHintCollection Hints)
|
String |
RegisterNode(NodeInfo info,
EnvHintCollection Hints)
|
List<String> |
RetrieveByQualifier(String qualifier,
EnvHintCollection Hints)
|
void |
UnregisterNode(String NodeID,
EnvHintCollection Hints)
|
void |
UpdateGenericResource(String ID,
String Content,
Query query,
EnvHintCollection Hints)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InformationSystemProvider
public InformationSystemProvider()
Init
public static IInformationSystemProvider Init(String ProviderName,
EnvHintCollection Hints)
throws EnvironmentValidationException
- Throws:
EnvironmentValidationException
IsInit
public static boolean IsInit()
RetrieveByQualifier
public List<String> RetrieveByQualifier(String qualifier,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
RetrieveByQualifier in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
Query
public List<String> Query(Query query,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
Query in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
Query
public List<String> Query(String query,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
Query in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetMatchingNode
public NodeInfo GetMatchingNode(String RankingExpression,
String RequirementsExpression,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetMatchingNode in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetMatchingNode
public NodeInfo GetMatchingNode(String RankingExpression,
String RequirementsExpression,
gr.uoa.di.madgik.commons.infra.nodeselection.NodeSelector selector,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetMatchingNode in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetMatchingNodes
public List<NodeInfo> GetMatchingNodes(String RankingExpression,
String RequirementsExpression,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetMatchingNodes in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetNode
public NodeInfo GetNode(String NodeID,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetNode in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetNode
public NodeInfo GetNode(String Hostname,
String Port,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetNode in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
RegisterNode
public String RegisterNode(NodeInfo info,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
RegisterNode in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
UnregisterNode
public void UnregisterNode(String NodeID,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
UnregisterNode in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetGenericByID
public String GetGenericByID(String ID,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetGenericByID in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetGenericByName
public List<String> GetGenericByName(String Name,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetGenericByName in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetOpenSearchGenericByDescriptionDocumentURI
public String GetOpenSearchGenericByDescriptionDocumentURI(String URI,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetOpenSearchGenericByDescriptionDocumentURI in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
CreateGenericResource
public String CreateGenericResource(String Content,
Query attributes,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
CreateGenericResource in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
UpdateGenericResource
public void UpdateGenericResource(String ID,
String Content,
Query query,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
UpdateGenericResource in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
DeleteGenericResource
public void DeleteGenericResource(String ID,
EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
DeleteGenericResource in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetLocalNodeHostName
public String GetLocalNodeHostName()
throws EnvironmentInformationSystemException
- Specified by:
GetLocalNodeHostName in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetLocalNodePort
public String GetLocalNodePort()
throws EnvironmentInformationSystemException
- Specified by:
GetLocalNodePort in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
GetLocalNodePE2ngPort
public String GetLocalNodePE2ngPort(EnvHintCollection Hints)
throws EnvironmentInformationSystemException
- Specified by:
GetLocalNodePE2ngPort in interface IInformationSystemProvider
- Throws:
EnvironmentInformationSystemException
Copyright © 2013. All Rights Reserved.