Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » connect manually to subsistem ...
connect manually to subsistem ... [message #577813] Tue, 04 November 2008 10:09
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Hi all,
Not sure what I'm going to write has a bit of meaning or not .
But .

I have created my own subsystem to interact with my database .

From the remote view it works . I still have to fix a few bugs but let's say
it works.

How difficult would it be to initialize manually the subsystem without the
use of the remote view . what I would like is to be able to manually connect
to the subsystem and get the root so I can populate my own view . (I did try
something but it comes out the login dialog and after that few error that
internal structure has not been initialized).

Thanks
Kar


IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
.getSystemTypeById("mydb.files.Files");

Host myHost = (Host)
RSECorePlugin.getDefault().getSystemRegistry().createHost(
systemType, "linuxbox", " linuxbox", "this is a test");

myHost.setUserIdCaseSensitive(true);
myHost.setDefaultEncoding("UTF-8", true);
myhost.setDefaultUserId("Administrator");

FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
.createSubSystemInternal(myHost);

EOMConnectorService connectorService = (EOMConnectorService) subsystemX
.getConnectorService();
Previous Topic:Empty List when using FTP
Next Topic:Dstore won't authenticate, SSH does
Goto Forum:
  


Current Time: Fri Aug 22 23:54:25 EDT 2014

Powered by FUDForum. Page generated in 0.02559 seconds