Package com.newstep.solid.management.runtime.directory

 
Package Diagram Summary
directory 
 
Class Summary
ComponentDirectory 
ComponentInfo 
ComponentRegistryEvent 
DefaultDirectoryClient 
DirectoryConnection 
RegistrationException 
SimpleDirectoryClient 

 
Interface Summary
ComponentDirectoryClient 
ComponentDirectoryMBean 
ComponentRegistryListener 
Package Elements Detail
ComponentDirectoryClient
A JMX Directory based client, that is responsible
for connecting, registering/unregistering.
Author:
msimonsen
 

 
Operation Summary
connectConnect to this client via the service url.
disconnectDisconnect from the client.
registerRegister component information.
unRegisterUnregister component information.

connect
 
Connect to this client via the service url.
Parameters:
url
Abstract.
Throws:
IOException
 

 
Parameter Summary
url 

url
 

disconnect
 
Disconnect from the client.
Abstract.
Throws:
IOException
 

register
 
Register component information.
Parameters:
component
Abstract.
Throws:
RegistrationException
 

 
Parameter Summary
component 

component
 

unRegister
 
Unregister component information.
Parameters:
component
Abstract.
Throws:
RegistrationException
 

 
Parameter Summary
component 

component
 

ComponentDirectoryMBean
A managemable DirectoryMbean or rather the RPC for which components
make calls on to register or deregister themselves.
Conversely, clients may perform look up on those components.



It is the responsibility of the implementation to add
listeners for the events that are generated from the directory.
Author:
msimonsen
 

 
Operation Summary
addListenerAdd a Registration listener to this directory.
deRegisterDeregister a component.
lookupComponentsLooks up a set of components per url basis.
lookupComponents 
registerRegister a component into Directory.
removeListenerRemove listener to this directory.

addListener
 
Add a Registration listener to this directory.
Parameters:
compRegListener
Abstract.
Throws:
RuntimeException
 

 
Parameter Summary
compRegListener 

compRegListener
 

deRegister
 
Deregister a component.
Parameters:
component
Abstract.
Throws:
RegistrationException
 

 
Parameter Summary
component 

component
 

lookupComponents
 
Looks up a set of components per url basis.
Parameters:
url
Return:
A set of ComponentInfo found.
Abstract.
Throws:
RegistrationException
 

 
Parameter Summary
return 
url 

return
 

url
 

lookupComponents
 
 
Return:
Set of ComponentInfo
Abstract.
Throws:
RegistrationException
 

 
Parameter Summary
return 

return
 

register
 
Register a component into Directory.
Parameters:
component
Abstract.
Throws:
RegistrationException
 

 
Parameter Summary
component 

component
 

removeListener
 
Remove listener to this directory.
Parameters:
compRegListener
Abstract.
Throws:
RuntimeException
 

 
Parameter Summary
compRegListener 

compRegListener
 

ComponentRegistryListener
Implementors of this listener will recieve events related to
registration, such as register and deregister events.
ComponentRegistryEvent.
Author:
msimonsen
 

 
Operation Summary
handleRegistration 

handleRegistration
 
Abstract.
 

 
Parameter Summary
event 

event