orbsingleton.java
来自「JAVA 所有包」· Java 代码 · 共 758 行 · 第 1/2 页
JAVA
758 行
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"); } public TransportManager getTransportManager() { throw new SecurityException("ORBSingleton: access denied"); } public CorbaTransportManager getCorbaTransportManager() { throw new SecurityException("ORBSingleton: access denied"); } public LegacyServerSocketManager getLegacyServerSocketManager() { throw new SecurityException("ORBSingleton: access denied"); }/************************************************************************* These are methods from com.sun.corba.se.impl.se.core.ORB ************************************************************************/ private synchronized ORB getFullORB() { if (fullORB == null) { Properties props = new Properties() ; fullORB = new ORBImpl() ; fullORB.set_parameters( props ) ; } return fullORB ; } public RequestDispatcherRegistry getRequestDispatcherRegistry() { // To enable read_Object. return getFullORB().getRequestDispatcherRegistry(); } /** * Return the service context registry */ public ServiceContextRegistry getServiceContextRegistry() { throw new SecurityException("ORBSingleton: access denied"); } /** * 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; } /* * 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 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; } public int getGIOPBuffMgrStrategy(GIOPVersion gv) { return BufferManagerFactory.GROW; } public IOR getFVDCodeBaseIOR(){ throw new SecurityException("ORBSingleton: access denied"); } public Policy create_policy( int type, Any val ) throws PolicyError { throw new NO_IMPLEMENT(); } public LegacyServerSocketEndPointInfo getServerEndpoint() { return null ; } public void setPersistentServerId( int id ) { } public TypeCodeImpl getTypeCodeForClass( Class c ) { return null ; } public void setTypeCodeForClass( Class c, TypeCodeImpl tcimpl ) { } public boolean alwaysSendCodeSetServiceContext() { return true ; } public boolean isDuringDispatch() { return false ; } public void notifyORB() { } public PIHandler getPIHandler() { return null ; } public void checkShutdownState() { } public void startingDispatch() { } public void finishedDispatch() { } public void registerInitialReference( String id, Closure closure ) { } public ORBData getORBData() { return getFullORB().getORBData() ; } public void setClientDelegateFactory( ClientDelegateFactory factory ) { } public ClientDelegateFactory getClientDelegateFactory() { return getFullORB().getClientDelegateFactory() ; } public void setCorbaContactInfoListFactory( CorbaContactInfoListFactory factory ) { } public CorbaContactInfoListFactory getCorbaContactInfoListFactory() { return getFullORB().getCorbaContactInfoListFactory() ; } public Operation getURLOperation() { return null ; } public void setINSDelegate( CorbaServerRequestDispatcher sdel ) { } public TaggedComponentFactoryFinder getTaggedComponentFactoryFinder() { return getFullORB().getTaggedComponentFactoryFinder() ; } public IdentifiableFactoryFinder getTaggedProfileFactoryFinder() { return getFullORB().getTaggedProfileFactoryFinder() ; } public IdentifiableFactoryFinder getTaggedProfileTemplateFactoryFinder() { return getFullORB().getTaggedProfileTemplateFactoryFinder() ; } public ObjectKeyFactory getObjectKeyFactory() { return getFullORB().getObjectKeyFactory() ; } public void setObjectKeyFactory( ObjectKeyFactory factory ) { throw new SecurityException("ORBSingleton: access denied"); } public void handleBadServerId( ObjectKey okey ) { } public OAInvocationInfo peekInvocationInfo() { return null ; } public void pushInvocationInfo( OAInvocationInfo info ) { } public OAInvocationInfo popInvocationInfo() { return null ; } public ClientInvocationInfo createOrIncrementInvocationInfo() { return null ; } public void releaseOrDecrementInvocationInfo() { } public ClientInvocationInfo getInvocationInfo() { return null ; } public ConnectionCache getConnectionCache(ContactInfo contactInfo) { return null; } public void setResolver( Resolver resolver ) { } public Resolver getResolver() { return null ; } public void setLocalResolver( LocalResolver resolver ) { } public LocalResolver getLocalResolver() { return null ; } public void setURLOperation( Operation stringToObject ) { } // NOTE: REMOVE THIS METHOD ONCE WE HAVE A ORT BASED ORBD public void setBadServerIdHandler( BadServerIdHandler handler ) { } // NOTE: REMOVE THIS METHOD ONCE WE HAVE A ORT BASED ORBD public void initBadServerIdHandler() { } public Selector getSelector(int x) { return null; } public void setThreadPoolManager(ThreadPoolManager mgr) { } public ThreadPoolManager getThreadPoolManager() { return null; } public CopierManager getCopierManager() { return null ; }}// End of file.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?