1 7 8 package com.sun.corba.se.spi.oa ; 9 10 import org.omg.CORBA.Policy ; 11 12 import org.omg.PortableInterceptor.ObjectReferenceTemplate ; 13 import org.omg.PortableInterceptor.ObjectReferenceFactory ; 14 15 import com.sun.corba.se.spi.orb.ORB ; 16 17 import com.sun.corba.se.spi.oa.OADestroyed ; 18 19 import com.sun.corba.se.spi.ior.IORTemplate ; 20 21 23 143 public interface ObjectAdapter 144 { 145 149 151 ORB getORB() ; 152 153 Policy getEffectivePolicy( int type ) ; 154 155 161 IORTemplate getIORTemplate() ; 162 163 167 169 int getManagerId() ; 170 171 174 short getState() ; 175 176 ObjectReferenceTemplate getAdapterTemplate() ; 177 178 ObjectReferenceFactory getCurrentFactory() ; 179 180 183 void setCurrentFactory( ObjectReferenceFactory factory ) ; 184 185 189 195 org.omg.CORBA.Object getLocalServant( byte[] objectId ) ; 196 197 205 void getInvocationServant( OAInvocationInfo info ) ; 206 207 211 void enter( ) throws OADestroyed ; 212 213 216 void exit( ) ; 217 218 221 public void returnServant() ; 222 223 226 OAInvocationInfo makeInvocationInfo( byte[] objectId ) ; 227 228 230 String [] getInterfaces( Object servant, byte[] objectId ) ; 231 } 232 | Popular Tags |