orbsingleton.java
来自「java jdk 1.4的源码」· Java 代码 · 共 588 行 · 第 1/2 页
JAVA
588 行
{ throw new NO_IMPLEMENT(); } public void send_multiple_requests_oneway(Request[] req) { throw new SecurityException("ORBSingleton: access denied"); } public void send_multiple_requests_deferred(Request[] req) { throw new SecurityException("ORBSingleton: access denied"); } public boolean poll_next_response() { throw new SecurityException("ORBSingleton: access denied"); } public org.omg.CORBA.Request get_next_response() { throw new SecurityException("ORBSingleton: access denied"); } public String object_to_string(org.omg.CORBA.Object obj) { throw new SecurityException("ORBSingleton: access denied"); } public org.omg.CORBA.Object string_to_object(String s) { throw new SecurityException("ORBSingleton: access denied"); } public java.rmi.Remote string_to_remote(String s) throws java.rmi.RemoteException { throw new SecurityException("ORBSingleton: access denied"); } public void connect(org.omg.CORBA.Object servant) { throw new SecurityException("ORBSingleton: access denied"); } public void disconnect(org.omg.CORBA.Object obj) { throw new SecurityException("ORBSingleton: access denied"); } public void run() { throw new SecurityException("ORBSingleton: access denied"); } public void shutdown(boolean wait_for_completion) { throw new SecurityException("ORBSingleton: access denied"); } protected void shutdownServants(boolean wait_for_completion) { throw new SecurityException("ORBSingleton: access denied"); } protected void destroyConnections() { throw new SecurityException("ORBSingleton: access denied"); } public void destroy() { throw new SecurityException("ORBSingleton: access denied"); } public boolean work_pending() { throw new SecurityException("ORBSingleton: access denied"); } public void perform_work() { throw new SecurityException("ORBSingleton: access denied"); } public org.omg.CORBA.portable.ValueFactory register_value_factory(String repositoryID, org.omg.CORBA.portable.ValueFactory factory) { throw new SecurityException("ORBSingleton: access denied"); } public void unregister_value_factory(String repositoryID) { throw new SecurityException("ORBSingleton: access denied"); } public org.omg.CORBA.portable.ValueFactory lookup_value_factory(String repositoryID) { throw new SecurityException("ORBSingleton: access denied"); }/************************************************************************* These are methods from com.sun.corba.se.internal.se.core.ORB ************************************************************************/ /** * Get an instance of the GIOP client implementation. */ public ClientGIOP getClientGIOP() { throw new SecurityException("ORBSingleton: access denied"); } /** * Get an instance of the GIOP server implementation. */ public ServerGIOP getServerGIOP() { throw new SecurityException("ORBSingleton: access denied"); } /** * Return the subcontract registry */ public SubcontractRegistry getSubcontractRegistry() { // To enable read_Object. if (fullORB == null) { Properties props = new Properties(); // This needs to be a POAORB so that all subcontracts // are available. props.put("org.omg.CORBA.ORBClass", "com.sun.corba.se.internal.POA.POAORB"); fullORB = (POAORB) ORB.init((String[])null, props); } return fullORB.getSubcontractRegistry(); } /** * Return the service context registry */ public ServiceContextRegistry getServiceContextRegistry() { throw new SecurityException("ORBSingleton: access denied"); } /** * Get a new instance of a GIOP input stream. */ public MarshalInputStream newInputStream() { return new EncapsInputStream(this); } /** * Get a new instance of a GIOP input stream. */ public MarshalInputStream newInputStream(byte[] buffer, int size) { return new EncapsInputStream(this, buffer, size); } public MarshalInputStream newInputStream(byte[] buffer, int size, boolean littleEndian) { return new EncapsInputStream(this, buffer, size, littleEndian); } /** * Get a new instance of a GIOP output stream. */ public MarshalOutputStream newOutputStream() { return new EncapsOutputStream(this); } /** * Get the transient server ID */ public int getTransientServerId() { throw new SecurityException("ORBSingleton: access denied"); } /** * Return the bootstrap naming port specified in the ORBInitialPort param. */ public int getORBInitialPort() { throw new SecurityException("ORBSingleton: access denied"); } /** * Return the bootstrap naming host specified in the ORBInitialHost param. */ public String getORBInitialHost() { throw new SecurityException("ORBSingleton: access denied"); } public String getORBServerHost() { throw new SecurityException("ORBSingleton: access denied"); } public int getORBServerPort() { throw new SecurityException("ORBSingleton: access denied"); } public CodeSetComponentInfo getCodeSetComponentInfo() { return new CodeSetComponentInfo(); } public boolean isLocalHost( String host ) { // To enable read_Object. return false; } public boolean isLocalServerId( int subcontractId, int serverId ) { // To enable read_Object. return false; } public boolean isLocalServerPort( int port ) { return false; } public GIOPVersion getGIOPVersion() { return giopVersion; } /* * Things from corba.ORB. */ public ORBVersion getORBVersion() { // Always use our latest ORB version (latest fixes, etc) return ORBVersionFactory.getORBVersion(); } public void setORBVersion(ORBVersion verObj) { throw new SecurityException("ORBSingleton: access denied"); } public String getAppletHost() { throw new SecurityException("ORBSingleton: access denied"); } public URL getAppletCodeBase() { throw new SecurityException("ORBSingleton: access denied"); } public Collection getUserSpecifiedListenPorts () { throw new SecurityException("ORBSingleton: access denied"); } public ORBSocketFactory getSocketFactory () { throw new SecurityException("ORBSingleton: access denied"); } public int getHighWaterMark(){ throw new SecurityException("ORBSingleton: access denied"); } public int getLowWaterMark(){ throw new SecurityException("ORBSingleton: access denied"); } public int getNumberToReclaim(){ throw new SecurityException("ORBSingleton: access denied"); } public int getGIOPFragmentSize() { return ORBConstants.GIOP_DEFAULT_BUFFER_SIZE; } // getGIOPBufferSize needed by create_output_stream public int getGIOPBuffMgrStrategy(GIOPVersion gv) { return BufferManagerFactory.GROW; } // get_current throws NO_IMPLEMENT in parent. // PI hooks are empty. public IOR getServantIOR(){ throw new SecurityException("ORBSingleton: access denied"); } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?