Skip to main content


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 15:09
Carmelo  is currently offline Carmelo Friend
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://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf
Goto Forum:
  


Current Time: Wed Apr 24 17:41:30 GMT 2024

Powered by FUDForum. Page generated in 0.02439 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top