|
||||||||||
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 IUDDIServer
public static void enable()
public static boolean isEnabled()
public static void disable()
public void addListener(IUDDIListener listener)
addListener
in interface IUDDIServer
listener
- public IUDDIListener[] getListeners()
getListeners
in interface IUDDIServer
public IAdmin getAdmin()
public java.lang.String getOperator()
getOperator
in interface IUDDIServer
public 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 IUDDIServer
command
- authorization
-
UDDIException
public java.util.Enumeration getBusinesses()
getBusinesses
in interface IUDDIServer
public java.util.Enumeration getBusinessKeys()
getBusinessKeys
in interface IUDDIServer
public Business[] getBusinessesForUser(User user) throws UDDIException
getBusinessesForUser
in interface IUDDIServer
user
-
UDDIException
public boolean ownsBusiness(java.lang.String businessKey, User user) throws UDDIException
ownsBusiness
in interface IUDDIServer
businessKey
- user
-
UDDIException
public Business readBusiness(java.lang.String businessKey) throws UDDIException
readBusiness
in interface IUDDIServer
businessKey
-
UDDIException
public void writeBusiness(Business business) throws UDDIException
writeBusiness
in interface IUDDIServer
business
-
UDDIException
public void eraseBusiness(java.lang.String businessKey) throws UDDIException
eraseBusiness
in interface IUDDIServer
businessKey
-
UDDIException
public java.util.Enumeration getServices()
getServices
in interface IUDDIServer
public java.util.Enumeration getServiceKeys()
public Service[] getServicesForUser(User user) throws UDDIException
getServicesForUser
in interface IUDDIServer
user
-
UDDIException
public boolean ownsService(java.lang.String serviceKey, User user) throws UDDIException
ownsService
in interface IUDDIServer
serviceKey
- user
-
UDDIException
public java.lang.String[] getServiceKeysForBusiness(java.lang.String businessKey) throws UDDIException
getServiceKeysForBusiness
in interface IUDDIServer
businessKey
-
UDDIException
public Service readService(java.lang.String serviceKey) throws UDDIException
readService
in interface IUDDIServer
serviceKey
-
UDDIException
public void writeService(Service service) throws UDDIException
writeService
in interface IUDDIServer
service
-
UDDIException
public void eraseService(java.lang.String serviceKey) throws UDDIException
eraseService
in interface IUDDIServer
serviceKey
-
UDDIException
public java.util.Enumeration getBindings()
getBindings
in interface IUDDIServer
public java.util.Enumeration getBindingKeys()
public Binding[] getBindingsForUser(User user) throws UDDIException
getBindingsForUser
in interface IUDDIServer
user
-
UDDIException
public boolean ownsBinding(java.lang.String bindingKey, User user) throws UDDIException
ownsBinding
in interface IUDDIServer
bindingKey
- user
-
UDDIException
public java.lang.String[] getBindingKeysForService(java.lang.String serviceKey) throws UDDIException
getBindingKeysForService
in interface IUDDIServer
serviceKey
-
UDDIException
public Binding readBinding(java.lang.String bindingKey) throws UDDIException
readBinding
in interface IUDDIServer
bindingKey
-
UDDIException
public void writeBinding(Binding binding) throws UDDIException
writeBinding
in interface IUDDIServer
binding
-
UDDIException
public void eraseBinding(java.lang.String bindingKey) throws UDDIException
eraseBinding
in interface IUDDIServer
bindingKey
-
UDDIException
public java.util.Enumeration getTModels()
getTModels
in interface IUDDIServer
public java.util.Enumeration getTModelKeys()
public TModel[] getTModelsForUser(User user) throws UDDIException
getTModelsForUser
in interface IUDDIServer
user
-
UDDIException
public boolean ownsTModel(TModel tModel, User user) throws UDDIException
ownsTModel
in interface IUDDIServer
tModel
- user
-
UDDIException
public TModel readTModel(java.lang.String tModelKey) throws UDDIException
readTModel
in interface IUDDIServer
tModelKey
-
UDDIException
public void writeTModel(TModel tModel) throws UDDIException
writeTModel
in interface IUDDIServer
tModel
-
UDDIException
public void eraseTModel(java.lang.String tModelKey) throws UDDIException
eraseTModel
in interface IUDDIServer
tModelKey
-
UDDIException
public static void setDefaultTModels(java.util.Enumeration tModels)
tModels
- public java.util.Enumeration getAssertions()
getAssertions
in interface IUDDIServer
public java.util.Enumeration getAssertionKeys()
public Assertion[] getAssertionsForUser(User user) throws UDDIException
getAssertionsForUser
in interface IUDDIServer
user
-
UDDIException
public boolean publishedAssertion(Assertion assertion, User user) throws UDDIException
publishedAssertion
in interface IUDDIServer
assertion
- user
-
UDDIException
public Assertion readAssertion(java.lang.String assertionKey) throws UDDIException
readAssertion
in interface IUDDIServer
assertionKey
-
UDDIException
public void writeAssertion(Assertion assertion) throws UDDIException
writeAssertion
in interface IUDDIServer
assertion
-
UDDIException
public void eraseAssertion(java.lang.String assertionKey) throws UDDIException
eraseAssertion
in interface IUDDIServer
assertionKey
-
UDDIException
public User getPublisher(Authorization authorization) throws UDDIException
getPublisher
in interface IUDDIServer
authorization
-
UDDIException
public void checkLimits(User user) throws UDDIException
checkLimits
in interface IUDDIServer
user
-
UDDIException
public User readUser(java.lang.String name) throws UDDIException
readUser
in interface IUDDIServer
name
-
UDDIException
public User[] getUsers() throws UDDIException
getUsers
in interface IAdmin
UDDIException
- if a UDDI error occurs.public User getUser(java.lang.String name) throws UDDIException
getUser
in interface IAdmin
name
- The user name.
UDDIException
- if a UDDI error occurs.public User saveUser(User user) throws UDDIException
saveUser
in interface IAdmin
user
- The user to save.
UDDIException
- if a UDDI error occurs.public void deleteUser(java.lang.String name) throws UDDIException
deleteUser
in interface IAdmin
name
- The user name
UDDIException
- if a UDDI error occurs.public void deleteUsers() throws UDDIException
deleteUsers
in interface IAdmin
UDDIException
- if a UDDI error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |