Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 6282 Details for
Bug 43883
Compile fails on Win2k but works on Linux box
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
RMI Server / implementation
SetMethodImpl.java (text/plain), 1.33 KB, created by
kasi gaadu
on 2003-09-29 21:44:03 EDT
(
hide
)
Description:
RMI Server / implementation
Filename:
MIME Type:
Creator:
kasi gaadu
Created:
2003-09-29 21:44:03 EDT
Size:
1.33 KB
patch
obsolete
>package first.aspect; > >import java.io.*; >import java.rmi.*; >import java.rmi.server.*; > >public class SetMethodImpl extends UnicastRemoteObject implements SetMethod, Serializable { > private String method; > private static Test tstObj = null; > > public SetMethodImpl() throws RemoteException { > super(); > > if( tstObj == null ) { > tstObj = new Test(); > } > > System.out.println("******** SetMethodImpl Constructor *********"); > } > > public void setMethodName(String method) throws RemoteException { > this.method = method; > System.out.println("Setting method: " + method); > //Test tstObj = new Test(); > //Test tst = (Test) Class.forName("first.aspect.Test").newInstance(); > tstObj.setMethodName(method); > //Test.methodName = method; > System.out.println("MethodName: " + tstObj.methodName); > } > > public String getMethodName() throws RemoteException { > return method; > } > > public static void main(String[] args) { > if (System.getSecurityManager() == null) { > System.setSecurityManager(new RMISecurityManager()); > } > > try { > SetMethodImpl impl = new SetMethodImpl(); > Naming.rebind("METHOD_SETTER", impl); > System.out.println("******** Bound to RMI Server *********"); > } catch(Exception ex) { > ex.printStackTrace(); > } > > } >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 43883
:
6280
|
6281
| 6282