Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Interface question

Thread Tools

Interface question

Mike Hollis
Posts: n/a
Is there any way to create an interface with an already created object
with having a ref to the object?

All interfaces extend a main_interface with the method setUP.

And each class then implements there own interface and extend the

When I call the setUP method for a particular object then using the
main_interface main.setUP(). I want to make ref to another objects
inside there.

Is there anyway for me to just create an interface to another object
inside this setup function with have to make a Class.newInstence()

I tried using reflect and Class.forName("interface name"); but all
methods come back abstract. Which I think is right but I dunno. Can
you please help.

Thanks a lot,

Michael J. Hollis Removed)
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Going from higher security level interface to lower security interface- HELP!!! - AM Cisco 4 12-28-2004 09:52 PM
PCI interface or USB interface David Wireless Networking 4 09-16-2004 01:01 PM
allow ssh only on outside interface, but telnet on inside interface of router no-one Cisco 0 07-28-2004 04:17 PM
PIX: how to allow 1 host from outside interface to access another host on the inside interface? jonnah Cisco 1 04-21-2004 02:26 PM
static nat between phisical interface and virtual interface on same ethernet Andrea Cisco 0 04-19-2004 09:37 AM