***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.deployment
Class ServicePrototypeImporter

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--com.sas.services.deployment.ServicePrototypeImporter
All Implemented Interfaces:

public final class ServicePrototypeImporter
extends Thread

Utility to import metadata representing foundation service deployment prototypes from a file into a SAS Metadata Server.

Construct an instance of this utility by specifying the metadata XML that is to be imported into a SAS Metadata Server. The specified file must contain utf-8 encoded XML representing prototyped metadata for foundation services.

Since:
1.0

Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ServicePrototypeImporter(String repositoryId)
          Constructs an instance that will import the default foundation service prototypes into SAS Metadata Server.
 
Method Summary
 void cancel()
          Processes a request to cancel this task.
 void cleanup()
          Performs housekeeping to clean up upon the completion of this task.
 void run()
          Runs the service deployment import to load the foundation service prototype metadata into SAS Metadata Server.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServicePrototypeImporter

public ServicePrototypeImporter(String repositoryId)
                         throws InitializationException
Constructs an instance that will import the default foundation service prototypes into SAS Metadata Server.
Parameters:
repositoryId - Metadata repository's ID.
Throws:
InitializationException - if invoked.
Method Detail

run

public final void run()
Runs the service deployment import to load the foundation service prototype metadata into SAS Metadata Server.
Overrides:
run in class Thread

cancel

public final void cancel()
Processes a request to cancel this task. Cancellation is not currently implemented.

cleanup

public final void cleanup()
Performs housekeeping to clean up upon the completion of this task.

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:53