@Override public Policy create_policy(int type, Any value) throws PolicyError { if (type != CSIv2Policy.TYPE) { throw new PolicyError(); } // stored as java.io.Serializable - is this a hack? IORSecurityConfigMetaData metadata = (IORSecurityConfigMetaData) value.extract_Value(); return new CSIv2Policy(metadata, codec); } }
public static org.omg.Messaging.ExceptionHolder extract (org.omg.CORBA.Any a) { return (org.omg.Messaging.ExceptionHolder)a.extract_Value(); } public static org.omg.CORBA.TypeCode type()
@Override public Policy create_policy(int type, Any value) throws PolicyError { if (type != CSIv2Policy.TYPE) { throw new PolicyError(); } // stored as java.io.Serializable - is this a hack? IORSecurityConfigMetaData metadata = (IORSecurityConfigMetaData) value.extract_Value(); return new CSIv2Policy(metadata, codec); } }
@Override public Policy create_policy(int type, Any value) throws PolicyError { if (type != CSIv2Policy.TYPE) { throw new PolicyError(); } // stored as java.io.Serializable - is this a hack? IORSecurityConfigMetaData metadata = (IORSecurityConfigMetaData) value.extract_Value(); return new CSIv2Policy(metadata, codec); } }
public static DataInputStream extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof DataInputStream) return (DataInputStream)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static ImmediateSuspend extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof ImmediateSuspend) return (ImmediateSuspend)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static UnlimitedPing extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof UnlimitedPing) return (UnlimitedPing)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static LimitedPing extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof LimitedPing) return (LimitedPing)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static ObjectReferenceFactory extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof ObjectReferenceFactory) return (ObjectReferenceFactory)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static _ExceptionHolder extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof _ExceptionHolder) return (_ExceptionHolder)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static DecayPolicy extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof DecayPolicy) return (DecayPolicy)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static DataOutputStream extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof DataOutputStream) return (DataOutputStream)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static RetryPolicy extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof RetryPolicy) return (RetryPolicy)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static String extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof String) return (String)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static Pollable extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof Pollable) return (Pollable)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static String extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof String) return (String)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static DIIPollable extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof DIIPollable) return (DIIPollable)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static Poller extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof Poller) return (Poller)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public static ResumePolicy extract(org.omg.CORBA.Any any) { if(any.type().equivalent(type())) { java.io.Serializable _ob_v = any.extract_Value(); if(_ob_v == null || _ob_v instanceof ResumePolicy) return (ResumePolicy)_ob_v; } throw new org.omg.CORBA.BAD_OPERATION(); }
public java.io.Serializable get_val() throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue { if (status == STATUS_DESTROYED) { throw wrapper.dynAnyDestroyed() ; } int kind = any.type().kind().value(); if (kind != TCKind._tk_value && kind != TCKind._tk_value_box) throw new TypeMismatch(); return any.extract_Value(); }