Modifier and Type | Method and Description |
---|---|
java.lang.Object |
HTTPRepositoryAccessor.lookupObject(ReferenceContext context,
java.lang.String objectName) |
void |
HTTPRepositoryAccessor.resetReferenceContext() |
Modifier and Type | Method and Description |
---|---|
void |
FabricConnection.exportExtensionArchive(java.io.File jarFile)
Exports the specified JAR file to the Fabric node with which the connection established.
|
void |
FabricConnection.importExtensionArchive(java.lang.String archiveName)
Imports the specified extension archive from the Fabric node with which the connection established.
|
void |
FabricConnection.importPackage(java.lang.String packageName)
Imports all archives of the specified Package from the Fabric node with which the connection established.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryAccessor.addArchive(java.io.File jar)
Adds the specified JAR file to the Repository.
|
void |
RepositoryAccessor.addArchive(java.lang.String jarName,
byte[] jarContent)
Adds the specified JAR file to the Repository.
|
void |
RepositoryAccessor.addExtensionArchive(java.io.File jar)
Adds the specified extension JAR file to the Repository.
|
void |
RepositoryAccessor.addExtensionArchive(java.lang.String jarName,
byte[] jarContent)
Adds the specified JAR file to the Repository.
|
void |
RepositoryAccessor.addPackage(Package pkg)
Adds the specified Package to the Repository.
|
void |
RepositoryAccessor.addPackage(Package pkg,
java.io.File[] jars)
Adds the specified Package to the Repository.
|
void |
RepositoryAccessor.appendFile(java.lang.String path,
byte[] content)
Appends the specified content to the specified file.
|
void |
RepositoryAccessor.appendFile(java.lang.String path,
java.io.File contentFile)
Appends the content (taken from the
contentFile file) to the specified file. |
void |
RepositoryAccessor.appendFile(java.lang.String path,
java.io.InputStream stream,
int size)
Appends the content (taken from the specified stream) to the specified file.
|
void |
RepositoryAccessor.bindObject(java.lang.String name,
java.lang.Object object)
Binds the specified named object to the current active Reference Context by serializing
the object as XML into the repository.
|
void |
RepositoryAccessor.createDirectory(com.streamscape.repository.filesystem.FSFile baseDirectory,
java.lang.String subDirectoryName)
Creates a directory with the specified name under the specified base directory.
|
com.streamscape.repository.filesystem.FSFile |
RepositoryAccessor.createDirectory(java.lang.String path)
Creates a directory using the specified path.
|
void |
RepositoryAccessor.createFile(java.lang.String path,
byte[] content,
long expiration)
Create a file using the specified path and the specified content.
|
void |
RepositoryAccessor.createFile(java.lang.String path,
java.io.File contentFile,
long expiration)
Creates a file using the specified path name and the content taken from the specified file.
|
void |
RepositoryAccessor.createFile(java.lang.String path,
java.io.InputStream stream,
int size,
long expiration)
Creates a file using the specified path name and the content taken from the specified stream.
|
ReferenceContext |
RepositoryAccessor.createReferenceContext(ReferenceContext parentContext,
java.lang.String namespace)
Creates a new Reference Context with the specified name under the specified parent context.
|
ReferenceContext |
RepositoryAccessor.createReferenceContext(java.lang.String namespace)
Creates a new Reference Context with the specified fully qualified name.
|
void |
RepositoryAccessor.deleteDirectory(java.lang.String path,
boolean isRecursive)
Deletes the specified directory.
|
void |
RepositoryAccessor.deleteFile(java.lang.String path)
Deletes the specified file.
|
void |
RepositoryAccessor.destroyReferenceContext(ReferenceContext context)
Destroys the Reference Context with the specified name.
|
boolean |
RepositoryAccessor.existsArchive(java.lang.String jarName)
Checks if the specified JAR file exists in the Repository.
|
boolean |
RepositoryAccessor.existsClientFactory(java.lang.String factoryName,
java.lang.String factoryType)
Checks if the specified Client Factory exists in the Repository.
|
boolean |
RepositoryAccessor.existsExtensionArchive(java.lang.String jarName)
Checks if the specified extension JAR file exists in the Repository.
|
boolean |
RepositoryAccessor.existsFile(java.lang.String path)
Checks if the specified file (or directory) exists.
|
boolean |
RepositoryAccessor.existsJDBCFactory(java.lang.String factoryName,
java.lang.String factoryType)
Checks if the specified JDBC Factory exists in the Repository.
|
boolean |
RepositoryAccessor.existsObject(java.lang.String name)
Checks if the named object with the specified name exists in the current active Reference Context
This operation is applicable to the objects area of the Repository. |
boolean |
RepositoryAccessor.existsPackage(PackageType type,
java.lang.String name)
Checks if the specified Package exists in the Repository.
|
boolean |
RepositoryAccessor.existsPackage(java.lang.String fullName)
Checks if the specified Package exists in the Repository.
|
boolean |
RepositoryAccessor.existsReferenceContext(java.lang.String namespace)
Checks if the Reference Context corresponding to the specified namespace exists.
|
boolean |
RepositoryAccessor.existsSemanticType(java.lang.String typeName)
Checks if a
Semantic Type with the specified name exists in the Repository. |
boolean |
RepositoryAccessor.existsServiceConfiguration(java.lang.String serviceName,
java.lang.String serviceType)
Checks if a Service Configuration Object corresponding to a service with the specified type and name exists.
|
boolean |
RepositoryAccessor.existsTransportFactory(java.lang.String factoryName,
java.lang.String factoryType)
Checks if the specified Transport Factory exists in the Repository.
|
void |
RepositoryAccessor.exportClientFactory(java.lang.String directory,
java.lang.String factoryName,
java.lang.String factoryType)
Exports the specified Client Factory to the specified directory.
|
void |
RepositoryAccessor.exportJDBCFactory(java.lang.String directory,
java.lang.String factoryName,
java.lang.String factoryType)
Exports the specified JDBC Factory to the specified directory.
|
void |
RepositoryAccessor.exportPackage(java.lang.String directory,
PackageType type,
java.lang.String name)
Exports the specified Package to the specified directory.
|
void |
RepositoryAccessor.exportPackage(java.lang.String directory,
java.lang.String fullName)
Exports the specified Package to the specified directory.
|
void |
RepositoryAccessor.exportServiceConfiguration(java.lang.String directory,
java.lang.String serviceName,
java.lang.String serviceType)
Exports a Service Configuration Object corresponding to a service with the specified type and name
to an external file located in the specified directory.
|
void |
RepositoryAccessor.exportTransportFactory(java.lang.String directory,
java.lang.String factoryName,
java.lang.String factoryType)
Exports the specified Transport Factory to the specified directory.
|
java.util.List |
RepositoryAccessor.getAllArtifactsDetails(java.lang.String path)
Returns the list with detailed information about files and directories located at the specified path.
|
byte[] |
RepositoryAccessor.getArchive(java.lang.String jarName)
Returns the content of the specified JAR file.
|
java.io.InputStream |
RepositoryAccessor.getArchiveStream(java.lang.String jarName)
Returns an input stream of the specified JAR file.
|
java.net.URL |
RepositoryAccessor.getArchiveURL(java.lang.String jarName)
Returns the reference to the specified JAR file as a URL.
|
java.util.List |
RepositoryAccessor.getArchiveURLs()
Returns a list of the references to all JAR files in the Repository.
|
java.util.List |
RepositoryAccessor.getDetails(java.util.Collection paths)
Returns detailed information for a list of specified locations.
|
com.streamscape.repository.filesystem.FSFile |
RepositoryAccessor.getDetails(java.lang.String path)
Returns detailed information about the specified file or directory.
|
java.util.List |
RepositoryAccessor.getDirectoriesDetails(java.lang.String path)
Returns the list with detailed information about directories located at the specified path.
|
byte[] |
RepositoryAccessor.getExtensionArchive(java.lang.String jarName)
Returns the content of the specified extension JAR file.
|
java.net.URL |
RepositoryAccessor.getExtensionArchiveURL(java.lang.String jarName)
Returns the reference to the specified extension JAR file as a URL.
|
java.util.List |
RepositoryAccessor.getExtensionArchiveURLs()
Returns a list of the references to all extension JAR files in the Repository.
|
java.lang.String |
RepositoryAccessor.getFileContent(java.lang.String path)
Returns a content of the specified file.
|
void |
RepositoryAccessor.getFileContent(java.lang.String path,
java.io.OutputStream stream)
Writes a content of the specified file to the specified output stream.
|
byte[] |
RepositoryAccessor.getFileContentBytes(java.lang.String path)
Returns a content of the specified file.
|
java.util.List |
RepositoryAccessor.getFilesDetails(java.lang.String path)
Returns the list with detailed information about files located at the specified path.
|
Package |
RepositoryAccessor.getPackage(PackageType type,
java.lang.String name)
Returns the specified Package from the Repository.
|
Package |
RepositoryAccessor.getPackage(java.lang.String fullName)
Returns the specified Package from the Repository.
|
Package |
RepositoryAccessor.getPackageByArchive(java.lang.String jarName)
Returns a Package that contains the specified JAR file.
|
ReferenceContext |
RepositoryAccessor.getReferenceContext()
Returns the current active Reference Context.
|
ReferenceContext |
RepositoryAccessor.getRootContext()
Returns the root Reference Context of the Repository.
|
com.streamscape.repository.filesystem.FSFile |
RepositoryAccessor.getRootDirectory()
Returns detailed information about the root directory.
|
SemanticType |
RepositoryAccessor.getSemanticType(java.lang.String typeName)
Returns a
Semantic Type with the specified name. |
java.util.List |
RepositoryAccessor.getSemanticTypes()
Returns a list of all Semantic Types in the Repository.
|
void |
RepositoryAccessor.importClientFactory(java.lang.String directory,
java.lang.String factoryName,
java.lang.String factoryType)
Imports the specified Client Factory from an external file located in the specified directory.
|
void |
RepositoryAccessor.importJDBCFactory(java.lang.String directory,
java.lang.String factoryName,
java.lang.String factoryType)
Imports the specified JDBC Factory from an external file located in the specified directory.
|
void |
RepositoryAccessor.importPackage(java.lang.String directory,
PackageType type,
java.lang.String name)
Imports the specified Package from the specified directory.
|
void |
RepositoryAccessor.importPackage(java.lang.String directory,
java.lang.String fullName)
Imports the specified Package from the specified directory.
|
void |
RepositoryAccessor.importServiceConfiguration(java.lang.String directory,
java.lang.String serviceName,
java.lang.String serviceType,
boolean validate)
Imports a Service Configuration Object corresponding to a service with the specified type and name
from an external file located in the specified directory.
|
void |
RepositoryAccessor.importTransportFactory(java.lang.String directory,
java.lang.String factoryName,
java.lang.String factoryType)
Imports the specified Transport Factory from an external file located in the specified directory.
|
boolean |
RepositoryAccessor.isDirectory(java.lang.String path)
Checks if the specified path corresponds to the existing directory.
|
boolean |
RepositoryAccessor.isFile(java.lang.String path)
Checks if the specified path corresponds to the existing file.
|
java.util.List |
RepositoryAccessor.listAllArtifacts(java.lang.String path)
Returns the list of files and directories located at the specified path.
|
java.util.List |
RepositoryAccessor.listArchives()
Returns a list of names of all JAR files in the Repository.
|
java.util.List |
RepositoryAccessor.listBindings()
Returns a list of all Binding instances in the current active Reference Context.
|
java.util.List |
RepositoryAccessor.listBindings(ReferenceContext context)
Returns a list of all Binding instances in the specified Reference Context.
|
java.util.List |
RepositoryAccessor.listClientFactoriesByType(java.lang.String factoryType)
Returns a list of names of all Client Factories having the specified type.
|
java.util.List |
RepositoryAccessor.listClientFactoryNames()
Returns a list of names of all Client Factories in the Repository.
|
java.util.List |
RepositoryAccessor.listClientFactoryTypes()
Returns a list of types of all Client Factories in the Repository.
|
java.util.List |
RepositoryAccessor.listDirectories(java.lang.String path)
Returns the list of directories located at the specified path.
|
java.util.List |
RepositoryAccessor.listExtensionArchives()
Returns a list of names of all extension JAR files in the Repository.
|
java.util.List |
RepositoryAccessor.listFiles(java.lang.String path)
Returns the list of files located at the specified path.
|
java.util.List |
RepositoryAccessor.listJDBCFactoriesByType(java.lang.String factoryType)
Returns a list of names of all JDBC Factories having the specified type.
|
java.util.List |
RepositoryAccessor.listJDBCFactoryNames()
Returns a list of names of all JDBC Factories in the Repository.
|
java.util.List |
RepositoryAccessor.listJDBCFactoryTypes()
Returns a list of types of all JDBC Factories in the Repository.
|
java.util.List |
RepositoryAccessor.listObjectNames(ReferenceContext context,
java.lang.String objectType)
Returns a list of the qualified names of the objects in the specified Reference Context.
|
java.util.List |
RepositoryAccessor.listObjectNames(java.lang.String objectType)
Returns a list of the names of the objects in the current active Reference Context.
|
java.util.List |
RepositoryAccessor.listPackages()
Returns a list of Packages for all types in the format of <PackageType>.<PackageName>.
|
java.util.List |
RepositoryAccessor.listPackagesByType(PackageType type)
Returns a list of packages of the specified type.
|
java.util.List |
RepositoryAccessor.listQualifiedObjectNames()
Returns a list of the qualified names of the objects in the current active Reference Context.
|
java.util.List |
RepositoryAccessor.listQualifiedObjectNames(ReferenceContext context)
Returns a list of the qualified names of the objects in the specified Reference Context.
|
java.util.List |
RepositoryAccessor.listReferenceContexts()
Returns a list of names of the all sub-contexts under the current active Reference Context.
|
java.util.List |
RepositoryAccessor.listSemanticTypes()
Returns a list of names of all Semantic Types in the Repository.
|
java.util.List |
RepositoryAccessor.listServiceNames()
Returns a list of names of all services in the Repository.
|
java.util.List |
RepositoryAccessor.listServicesByType(java.lang.String serviceType)
Returns a list of names of all services having the specified type.
|
java.util.List |
RepositoryAccessor.listServiceTypes()
Returns a list of types of all services in the Repository.
|
java.util.List |
RepositoryAccessor.listTransportFactoriesByType(java.lang.String factoryType)
Returns a list of names of all Transport Factories having the specified type.
|
java.util.List |
RepositoryAccessor.listTransportFactoryNames()
Returns a list of names of all Transport Factories in the Repository.
|
java.util.List |
RepositoryAccessor.listTransportFactoryTypes()
Returns a list of types of all Transport Factories in the Repository.
|
ClientFactory |
RepositoryAccessor.loadClientFactory(java.lang.String factoryName,
java.lang.String factoryType)
Loads and returns a copy of the specified Client Factory from the Repository.
|
JDBCFactory |
RepositoryAccessor.loadJDBCFactory(java.lang.String factoryName,
java.lang.String factoryType)
Loads and returns a copy of the specified JDBC Factory from the Repository.
|
ServiceConfigurationObject |
RepositoryAccessor.loadServiceConfiguration(java.lang.String serviceName,
java.lang.String serviceType)
Loads and returns a copy of Service Configuration Object corresponding to a service with
the specified type and name.
|
TransportFactory |
RepositoryAccessor.loadTransportFactory(java.lang.String factoryName,
java.lang.String factoryType)
Loads and returns a copy of the specified Transport Factory from the Repository.
|
java.lang.Object |
RepositoryAccessor.lookupObject(ReferenceContext context,
java.lang.String objectName)
Looks up the named object with the specified name in the specified Reference Context.
|
java.lang.Object |
RepositoryAccessor.lookupObject(java.lang.String name)
Looks up the named object with the specified name in the current active Reference Context.
|
java.lang.Object |
RepositoryAccessor.lookupObject(java.lang.String namespace,
java.lang.String objectName)
Looks up the named object with the specified name in the Reference Context associated with the specified namespace.
|
ReferenceContext |
RepositoryAccessor.lookupReferenceContext(java.lang.String namespace)
Looks up the Reference Context corresponding to the specified namespace.
|
void |
RepositoryAccessor.rebindObject(java.lang.String name,
java.lang.Object object)
Re-binds the specified named object to the current active Reference Context.
|
void |
RepositoryAccessor.removeArchive(java.lang.String jarName)
Removes the specified JAR file from the Repository.
|
void |
RepositoryAccessor.removeClientFactory(java.lang.String factoryName,
java.lang.String factoryType)
Removes the specified Client Factory from the Repository.
|
void |
RepositoryAccessor.removeExtensionArchive(java.lang.String jarName,
boolean force)
Removes the specified JAR file from the Repository.
|
void |
RepositoryAccessor.removeJDBCFactory(java.lang.String factoryName,
java.lang.String factoryType)
Removes the specified JDBC Factory from the Repository.
|
void |
RepositoryAccessor.removePackage(PackageType type,
java.lang.String name,
boolean withJars)
Removes the specified Package from the Repository.
|
void |
RepositoryAccessor.removePackage(java.lang.String fullName,
boolean withJars)
Removes the specified Package from the Repository.
|
void |
RepositoryAccessor.removeServiceConfiguration(java.lang.String serviceName,
java.lang.String serviceType)
Removes a Service Configuration Object corresponding to a service with the specified type and name.
|
void |
RepositoryAccessor.removeTransportFactory(java.lang.String factoryName,
java.lang.String factoryType)
Removes the specified Transport Factory from the Repository.
|
com.streamscape.repository.filesystem.FSFile |
RepositoryAccessor.renameArtifact(com.streamscape.repository.filesystem.FSFile oldFile,
java.lang.String newName)
Renames the specified file (or directory) using the specified new name.
|
void |
RepositoryAccessor.renameArtifact(java.lang.String oldPath,
java.lang.String newName)
Renames the specified file (or directory) using the specified new name.
|
void |
RepositoryAccessor.renameObject(java.lang.String oldName,
java.lang.String newName)
Renames the specified named object in the current active Reference Context.
|
void |
RepositoryAccessor.resetReferenceContext()
Sets the current active Reference Context to the initial root context.
|
java.lang.String |
RepositoryAccessor.resolveSemanticClass(java.lang.String className)
Returns the name of Semantic Type associated with the specified class.
|
java.lang.String |
RepositoryAccessor.resolveSemanticType(java.lang.String typeName)
Returns the name of the implementing class for a
Semantic Type with specified name. |
void |
RepositoryAccessor.saveClientFactory(ClientFactory factory)
Saves the specified Client Factory to the Repository as a serialized XML artifact.
|
void |
RepositoryAccessor.saveJDBCFactory(JDBCFactory factory)
Saves the specified JDBC Factory to the Repository as a serialized XML artifact.
|
void |
RepositoryAccessor.saveServiceConfiguration(ServiceConfigurationObject sco)
Saves the specified Service Configuration Object to the Repository as a serialized XML artifact.
|
void |
RepositoryAccessor.saveTransportFactory(TransportFactory factory)
Saves the specified Transport Factory to the Repository as a serialized XML artifact.
|
void |
RepositoryAccessor.setFileExpiration(java.lang.String path,
long expiration)
Sets the specified expiration time for the specified file.
|
void |
RepositoryAccessor.setReferenceContext(ReferenceContext context)
Sets the current active Reference Context, switching to the specified context for all
subsequent object operations such as bind, unbind, rebind, rename
and lookup.
|
void |
RepositoryAccessor.unbindObject(java.lang.String name)
Unbinds the specified named object from the current active Reference Context.
|
void |
RepositoryAccessor.updateFile(java.lang.String path,
byte[] content)
Writes the specified content into the specified file.
|
void |
RepositoryAccessor.updateFile(java.lang.String path,
java.io.File contentFile)
Writes the content (taken from the
contentFile ) into the specified file. |
void |
RepositoryAccessor.updateFile(java.lang.String path,
java.io.InputStream stream,
int size)
Writes the content (taken from the specified stream) into the specified file.
|
void |
RepositoryAccessor.updatePackage(Package pkg)
Updates the specified Package in the Repository.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ClientConfigurationFactory.existsClientFactory(java.lang.String factoryName,
java.lang.String factoryType)
Returns
true if the transport factory exists. |
static ClientFactory |
ClientConfigurationFactory.loadFactoryObject(FabricComponent component,
java.lang.String factoryName,
java.lang.String factoryType,
boolean isTransient) |
Modifier and Type | Method and Description |
---|---|
static boolean |
JDBCConfigurationFactory.existsJDBCFactory(java.lang.String factoryName,
java.lang.String factoryType)
Returns
true if this JDBC factory exists. |
static JDBCFactory |
JDBCConfigurationFactory.loadFactoryObject(FabricComponent component,
java.lang.String factoryName,
java.lang.String factoryType,
boolean isTransient)
Loads the JDBC factory from persistence.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TransportConfigurationFactory.existsTransportFactory(java.lang.String factoryName,
java.lang.String factoryType)
Returns
true if the transport factory exists. |
static TransportFactory |
TransportConfigurationFactory.loadFactoryObject(FabricComponent component,
java.lang.String factoryName,
java.lang.String factoryType,
boolean isTransient) |
Modifier and Type | Method and Description |
---|---|
static void |
CertificatesFactory.init(RuntimeContext context) |
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.