|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectelectric.uddi.server.UDDIServer
UDDIServer is an implementation of a V2 UDDI server.
| Field Summary |
| Fields inherited from interface electric.glue.IGLUELoggingConstants |
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT |
| Fields inherited from interface electric.xml.IEXMLLoggingConstants |
MAPPING_EVENT, SCHEMA_EVENT |
| Fields inherited from interface electric.util.log.ILoggingConstants |
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT |
| Fields inherited from interface electric.registry.toplevel.IToplevelRegistryConstants |
REGISTRY_PROTOCOL, REGISTRY_SCHEME |
| Constructor Summary | |
UDDIServer(java.lang.String inquiryPath,
java.lang.String publicationPath,
java.lang.String adminPath,
IUDDIStorage factory)
Create a UDDI server whose data is stored in subdirectories of the specified root. |
|
UDDIServer(java.lang.String inquiryPath,
java.lang.String publicationPath,
java.lang.String adminPath,
IUDDIStorage factory,
boolean initTModels)
Create a UDDI server whose data is stored in subdirectories of the specified root. |
|
UDDIServer(java.lang.String inquiryPath,
java.lang.String publicationPath,
java.lang.String adminPath,
java.lang.String root,
boolean delete)
Create a UDDI server whose data is stored in subdirectories of the specified root. |
|
| Method Summary | |
void |
addListener(IUDDIListener listener)
|
void |
checkLimits(User user)
|
void |
deleteUser(java.lang.String name)
Delete the User with the specified name. |
void |
deleteUsers()
Delete all users. |
static void |
disable()
|
static void |
enable()
|
void |
eraseAssertion(java.lang.String assertionKey)
|
void |
eraseBinding(java.lang.String bindingKey)
|
void |
eraseBusiness(java.lang.String businessKey)
|
void |
eraseService(java.lang.String serviceKey)
|
void |
eraseTModel(java.lang.String tModelKey)
|
IAdmin |
getAdmin()
|
java.util.Enumeration |
getAssertionKeys()
|
java.util.Enumeration |
getAssertions()
|
Assertion[] |
getAssertionsForUser(User user)
|
java.util.Enumeration |
getBindingKeys()
|
java.lang.String[] |
getBindingKeysForService(java.lang.String serviceKey)
|
java.util.Enumeration |
getBindings()
|
Binding[] |
getBindingsForUser(User user)
|
java.util.Enumeration |
getBusinesses()
|
Business[] |
getBusinessesForUser(User user)
|
java.util.Enumeration |
getBusinessKeys()
|
java.lang.String |
getInquiryServletPath()
|
IUDDIListener[] |
getListeners()
|
java.lang.String |
getOperator()
Return the site operator. |
User |
getPublisher(Authorization authorization)
|
java.util.Enumeration |
getServiceKeys()
|
java.lang.String[] |
getServiceKeysForBusiness(java.lang.String businessKey)
|
java.util.Enumeration |
getServices()
|
Service[] |
getServicesForUser(User user)
|
java.util.Enumeration |
getTModelKeys()
|
java.util.Enumeration |
getTModels()
|
TModel[] |
getTModelsForUser(User user)
|
User |
getUser(java.lang.String name)
Return the User with the specified name. |
User[] |
getUsers()
Return an array of all the users. |
java.lang.Object |
invoke(ICommand command,
Authorization authorization)
|
static boolean |
isEnabled()
|
boolean |
ownsBinding(java.lang.String bindingKey,
User user)
|
boolean |
ownsBusiness(java.lang.String businessKey,
User user)
|
boolean |
ownsService(java.lang.String serviceKey,
User user)
|
boolean |
ownsTModel(TModel tModel,
User user)
|
boolean |
publishedAssertion(Assertion assertion,
User user)
|
Assertion |
readAssertion(java.lang.String assertionKey)
|
Binding |
readBinding(java.lang.String bindingKey)
|
Business |
readBusiness(java.lang.String businessKey)
|
Service |
readService(java.lang.String serviceKey)
|
TModel |
readTModel(java.lang.String tModelKey)
|
User |
readUser(java.lang.String name)
|
User |
saveUser(User user)
Save the user. |
static void |
setDefaultTModels(java.util.Enumeration tModels)
|
void |
setOperator(java.lang.String siteOperator)
Set the site operator. |
void |
writeAssertion(Assertion assertion)
|
void |
writeBinding(Binding binding)
|
void |
writeBusiness(Business business)
|
void |
writeService(Service service)
|
void |
writeTModel(TModel tModel)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UDDIServer(java.lang.String inquiryPath,
java.lang.String publicationPath,
java.lang.String adminPath,
java.lang.String root,
boolean delete)
throws RegistryException,
UDDIException
inquiryPath - The local path that can satisfy inquiries.publicationPath - The local path that can satisfy publications.adminPath - The local path that provides adminstrative operations.root - The root under which data will be stored.delete - If true, delete any previous data at the root location.
RegistryException
UDDIException
public UDDIServer(java.lang.String inquiryPath,
java.lang.String publicationPath,
java.lang.String adminPath,
IUDDIStorage factory)
throws RegistryException,
UDDIException
inquiryPath - The local path that can satisfy inquiries.publicationPath - The local path that can satisfy publications.adminPath - The local path that provides adminstrative operations.factory - The root under which data will be stored.
RegistryException
UDDIException
public UDDIServer(java.lang.String inquiryPath,
java.lang.String publicationPath,
java.lang.String adminPath,
IUDDIStorage factory,
boolean initTModels)
throws RegistryException,
UDDIException
inquiryPath - The local path that can satisfy inquiries.publicationPath - The local path that can satisfy publications.adminPath - The local path that provides adminstrative operations.factory - The root under which data will be stored.initTModels -
RegistryException
UDDIException| Method Detail |
public java.lang.String getInquiryServletPath()
getInquiryServletPath in interface IUDDIServerpublic static void enable()
public static boolean isEnabled()
public static void disable()
public void addListener(IUDDIListener listener)
addListener in interface IUDDIServerlistener - public IUDDIListener[] getListeners()
getListeners in interface IUDDIServerpublic IAdmin getAdmin()
public java.lang.String getOperator()
getOperator in interface IUDDIServerpublic void setOperator(java.lang.String siteOperator)
siteOperator - The new site operator.
public java.lang.Object invoke(ICommand command,
Authorization authorization)
throws UDDIException
invoke in interface IUDDIServercommand - authorization -
UDDIExceptionpublic java.util.Enumeration getBusinesses()
getBusinesses in interface IUDDIServerpublic java.util.Enumeration getBusinessKeys()
getBusinessKeys in interface IUDDIServer
public Business[] getBusinessesForUser(User user)
throws UDDIException
getBusinessesForUser in interface IUDDIServeruser -
UDDIException
public boolean ownsBusiness(java.lang.String businessKey,
User user)
throws UDDIException
ownsBusiness in interface IUDDIServerbusinessKey - user -
UDDIException
public Business readBusiness(java.lang.String businessKey)
throws UDDIException
readBusiness in interface IUDDIServerbusinessKey -
UDDIException
public void writeBusiness(Business business)
throws UDDIException
writeBusiness in interface IUDDIServerbusiness -
UDDIException
public void eraseBusiness(java.lang.String businessKey)
throws UDDIException
eraseBusiness in interface IUDDIServerbusinessKey -
UDDIExceptionpublic java.util.Enumeration getServices()
getServices in interface IUDDIServerpublic java.util.Enumeration getServiceKeys()
public Service[] getServicesForUser(User user)
throws UDDIException
getServicesForUser in interface IUDDIServeruser -
UDDIException
public boolean ownsService(java.lang.String serviceKey,
User user)
throws UDDIException
ownsService in interface IUDDIServerserviceKey - user -
UDDIException
public java.lang.String[] getServiceKeysForBusiness(java.lang.String businessKey)
throws UDDIException
getServiceKeysForBusiness in interface IUDDIServerbusinessKey -
UDDIException
public Service readService(java.lang.String serviceKey)
throws UDDIException
readService in interface IUDDIServerserviceKey -
UDDIException
public void writeService(Service service)
throws UDDIException
writeService in interface IUDDIServerservice -
UDDIException
public void eraseService(java.lang.String serviceKey)
throws UDDIException
eraseService in interface IUDDIServerserviceKey -
UDDIExceptionpublic java.util.Enumeration getBindings()
getBindings in interface IUDDIServerpublic java.util.Enumeration getBindingKeys()
public Binding[] getBindingsForUser(User user)
throws UDDIException
getBindingsForUser in interface IUDDIServeruser -
UDDIException
public boolean ownsBinding(java.lang.String bindingKey,
User user)
throws UDDIException
ownsBinding in interface IUDDIServerbindingKey - user -
UDDIException
public java.lang.String[] getBindingKeysForService(java.lang.String serviceKey)
throws UDDIException
getBindingKeysForService in interface IUDDIServerserviceKey -
UDDIException
public Binding readBinding(java.lang.String bindingKey)
throws UDDIException
readBinding in interface IUDDIServerbindingKey -
UDDIException
public void writeBinding(Binding binding)
throws UDDIException
writeBinding in interface IUDDIServerbinding -
UDDIException
public void eraseBinding(java.lang.String bindingKey)
throws UDDIException
eraseBinding in interface IUDDIServerbindingKey -
UDDIExceptionpublic java.util.Enumeration getTModels()
getTModels in interface IUDDIServerpublic java.util.Enumeration getTModelKeys()
public TModel[] getTModelsForUser(User user)
throws UDDIException
getTModelsForUser in interface IUDDIServeruser -
UDDIException
public boolean ownsTModel(TModel tModel,
User user)
throws UDDIException
ownsTModel in interface IUDDIServertModel - user -
UDDIException
public TModel readTModel(java.lang.String tModelKey)
throws UDDIException
readTModel in interface IUDDIServertModelKey -
UDDIException
public void writeTModel(TModel tModel)
throws UDDIException
writeTModel in interface IUDDIServertModel -
UDDIException
public void eraseTModel(java.lang.String tModelKey)
throws UDDIException
eraseTModel in interface IUDDIServertModelKey -
UDDIExceptionpublic static void setDefaultTModels(java.util.Enumeration tModels)
tModels - public java.util.Enumeration getAssertions()
getAssertions in interface IUDDIServerpublic java.util.Enumeration getAssertionKeys()
public Assertion[] getAssertionsForUser(User user)
throws UDDIException
getAssertionsForUser in interface IUDDIServeruser -
UDDIException
public boolean publishedAssertion(Assertion assertion,
User user)
throws UDDIException
publishedAssertion in interface IUDDIServerassertion - user -
UDDIException
public Assertion readAssertion(java.lang.String assertionKey)
throws UDDIException
readAssertion in interface IUDDIServerassertionKey -
UDDIException
public void writeAssertion(Assertion assertion)
throws UDDIException
writeAssertion in interface IUDDIServerassertion -
UDDIException
public void eraseAssertion(java.lang.String assertionKey)
throws UDDIException
eraseAssertion in interface IUDDIServerassertionKey -
UDDIException
public User getPublisher(Authorization authorization)
throws UDDIException
getPublisher in interface IUDDIServerauthorization -
UDDIException
public void checkLimits(User user)
throws UDDIException
checkLimits in interface IUDDIServeruser -
UDDIException
public User readUser(java.lang.String name)
throws UDDIException
readUser in interface IUDDIServername -
UDDIException
public User[] getUsers()
throws UDDIException
getUsers in interface IAdminUDDIException - if a UDDI error occurs.
public User getUser(java.lang.String name)
throws UDDIException
getUser in interface IAdminname - The user name.
UDDIException - if a UDDI error occurs.
public User saveUser(User user)
throws UDDIException
saveUser in interface IAdminuser - The user to save.
UDDIException - if a UDDI error occurs.
public void deleteUser(java.lang.String name)
throws UDDIException
deleteUser in interface IAdminname - The user name
UDDIException - if a UDDI error occurs.
public void deleteUsers()
throws UDDIException
deleteUsers in interface IAdminUDDIException - if a UDDI error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||