index int64 0 0 | repo_id stringlengths 9 205 | file_path stringlengths 31 246 | content stringlengths 1 12.2M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_POLICY.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/BAD_POLICY:1.0
//
/***/
public interface BAD_POLICY
{
short value = (short)(0L);
}
| 4,300 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/EnumDef.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/EnumDef:1.0
//
/***/
public interface EnumDef extends EnumDefOperations,
TypedefDef,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,301 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_IDLTypeStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/IDLType:1.0
//
public class _IDLTypeStub extends org.omg.CORBA.portable.ObjectImpl
implements IDLType
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/IDLType:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public _IDLTypeStub() {
}
public _IDLTypeStub(org.omg.CORBA.portable.Delegate delegate) {
_set_delegate(delegate);
}
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = IDLTypeOperations.class;
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
IDLTypeOperations _ob_self = (IDLTypeOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
IDLTypeOperations _ob_self = (IDLTypeOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
IDLTypeOperations _ob_self = (IDLTypeOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,302 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AbstractBaseHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
public class AbstractBaseHolder implements org.omg.CORBA.portable.Streamable {
public java.lang.Object value;
public AbstractBaseHolder() {
}
public AbstractBaseHolder(java.lang.Object initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = AbstractBaseHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
AbstractBaseHelper.write(out, value);
}
public org.omg.CORBA.TypeCode _type() {
return AbstractBaseHelper.type();
}
}
| 4,303 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StructDefOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/StructDef:1.0
//
/***/
public interface StructDefOperations extends TypedefDefOperations,
ContainerOperations
{
//
// IDL:omg.org/CORBA/StructDef/members:1.0
//
/***/
StructMember[]
members();
void
members(StructMember[] val);
//
// IDL:omg.org/CORBA/StructDef/_OB_isForwardDcl:1.0
//
/***/
boolean
_OB_isForwardDcl();
//
// IDL:omg.org/CORBA/StructDef/_OB_setForwardDcl:1.0
//
/***/
void
_OB_setForwardDcl(boolean fwd_dcl);
}
| 4,304 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/CompletionStatus.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/completion_status:1.0
//
/***/
public final class CompletionStatus implements org.omg.CORBA.portable.IDLEntity
{
// force compatibility with Sun version for interop.
static final long serialVersionUID = -9047319660881406859L;
private static CompletionStatus [] values_ = new CompletionStatus[3];
private int value_;
public final static int _COMPLETED_YES = 0;
public final static CompletionStatus COMPLETED_YES = new CompletionStatus(_COMPLETED_YES);
public final static int _COMPLETED_NO = 1;
public final static CompletionStatus COMPLETED_NO = new CompletionStatus(_COMPLETED_NO);
public final static int _COMPLETED_MAYBE = 2;
public final static CompletionStatus COMPLETED_MAYBE = new CompletionStatus(_COMPLETED_MAYBE);
protected
CompletionStatus(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static CompletionStatus
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,305 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_AliasDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/AliasDef:1.0
//
public class _AliasDefStub extends org.omg.CORBA.portable.ObjectImpl
implements AliasDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/AliasDef:1.0",
"IDL:omg.org/CORBA/TypedefDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = AliasDefOperations.class;
//
// IDL:omg.org/CORBA/AliasDef/original_type_def:1.0
//
public IDLType
original_type_def()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_original_type_def", true);
in = _invoke(out);
IDLType _ob_r = IDLTypeHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("original_type_def", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.original_type_def();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
original_type_def(IDLType _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_original_type_def", true);
IDLTypeHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("original_type_def", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
_ob_self.original_type_def(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
AliasDefOperations _ob_self = (AliasDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,306 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/exception_type.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/exception_type:1.0
//
/***/
public class exception_type implements org.omg.CORBA.portable.IDLEntity
{
private static exception_type [] values_ = new exception_type[3];
private int value_;
public final static int _NO_EXCEPTION = 0;
public final static exception_type NO_EXCEPTION = new exception_type(_NO_EXCEPTION);
public final static int _USER_EXCEPTION = 1;
public final static exception_type USER_EXCEPTION = new exception_type(_USER_EXCEPTION);
public final static int _SYSTEM_EXCEPTION = 2;
public final static exception_type SYSTEM_EXCEPTION = new exception_type(_SYSTEM_EXCEPTION);
protected
exception_type(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static exception_type
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,307 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/LocalInterfaceDefSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/LocalInterfaceDefSeq:1.0
//
final public class LocalInterfaceDefSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, LocalInterfaceDef[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static LocalInterfaceDef[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "LocalInterfaceDefSeq", orb.create_sequence_tc(0, LocalInterfaceDefHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/LocalInterfaceDefSeq:1.0";
}
public static LocalInterfaceDef[]
read(org.omg.CORBA.portable.InputStream in)
{
LocalInterfaceDef[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new LocalInterfaceDef[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = LocalInterfaceDefHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, LocalInterfaceDef[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
LocalInterfaceDefHelper.write(out, val[i0]);
}
}
| 4,308 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TCKindHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class TCKindHelper {
public static void insert(org.omg.CORBA.Any any, TCKind val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static TCKind extract(org.omg.CORBA.Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode type() {
if (typeCode_ == null) {
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[33];
members[0] = "tk_null";
members[1] = "tk_void";
members[2] = "tk_short";
members[3] = "tk_long";
members[4] = "tk_ushort";
members[5] = "tk_ulong";
members[6] = "tk_float";
members[7] = "tk_double";
members[8] = "tk_boolean";
members[9] = "tk_char";
members[10] = "tk_octet";
members[11] = "tk_any";
members[12] = "tk_TypeCode";
members[13] = "tk_Principal";
members[14] = "tk_objref";
members[15] = "tk_struct";
members[16] = "tk_union";
members[17] = "tk_enum";
members[18] = "tk_string";
members[19] = "tk_sequence";
members[20] = "tk_array";
members[21] = "tk_alias";
members[22] = "tk_except";
members[23] = "tk_longlong";
members[24] = "tk_ulonglong";
members[25] = "tk_longdouble";
members[26] = "tk_wchar";
members[27] = "tk_wstring";
members[28] = "tk_fixed";
members[29] = "tk_value";
members[30] = "tk_value_box";
members[31] = "tk_native";
members[32] = "tk_abstract_interface";
typeCode_ = orb.create_enum_tc(id(), "TCKind", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/TCKind:1.0";
}
public static TCKind read(org.omg.CORBA.portable.InputStream in) {
TCKind _ob_v;
_ob_v = TCKind.from_int(in.read_ulong());
return _ob_v;
}
public static void write(org.omg.CORBA.portable.OutputStream out, TCKind val) {
out.write_ulong(val.value());
}
}
| 4,309 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AliasDefHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/AliasDef:1.0
//
final public class AliasDefHolder implements org.omg.CORBA.portable.Streamable
{
public AliasDef value;
public
AliasDefHolder()
{
}
public
AliasDefHolder(AliasDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = AliasDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
AliasDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return AliasDefHelper.type();
}
}
| 4,310 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StructMember.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/StructMember:1.0
//
/***/
final public class StructMember implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/StructMember:1.0";
public
StructMember()
{
}
public
StructMember(String name,
org.omg.CORBA.TypeCode type,
IDLType type_def)
{
this.name = name;
this.type = type;
this.type_def = type_def;
}
public String name;
public org.omg.CORBA.TypeCode type;
public IDLType type_def;
}
| 4,311 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InterfaceDefHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDef:1.0
//
final public class InterfaceDefHolder implements org.omg.CORBA.portable.Streamable
{
public InterfaceDef value;
public
InterfaceDefHolder()
{
}
public
InterfaceDefHolder(InterfaceDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = InterfaceDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
InterfaceDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return InterfaceDefHelper.type();
}
}
| 4,312 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DefinitionKindHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/DefinitionKind:1.0
//
public abstract class DefinitionKindHelper
{
public static void
insert(org.omg.CORBA.Any any, DefinitionKind val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static DefinitionKind
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[26];
members[0] = "dk_none";
members[1] = "dk_all";
members[2] = "dk_Attribute";
members[3] = "dk_Constant";
members[4] = "dk_Exception";
members[5] = "dk_Interface";
members[6] = "dk_Module";
members[7] = "dk_Operation";
members[8] = "dk_Typedef";
members[9] = "dk_Alias";
members[10] = "dk_Struct";
members[11] = "dk_Union";
members[12] = "dk_Enum";
members[13] = "dk_Primitive";
members[14] = "dk_String";
members[15] = "dk_Sequence";
members[16] = "dk_Array";
members[17] = "dk_Repository";
members[18] = "dk_Wstring";
members[19] = "dk_Fixed";
members[20] = "dk_Value";
members[21] = "dk_ValueBox";
members[22] = "dk_ValueMember";
members[23] = "dk_Native";
members[24] = "dk_AbstractInterface";
members[25] = "dk_LocalInterface";
typeCode_ = orb.create_enum_tc(id(), "DefinitionKind", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/DefinitionKind:1.0";
}
public static DefinitionKind
read(org.omg.CORBA.portable.InputStream in)
{
DefinitionKind _ob_v;
_ob_v = DefinitionKind.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DefinitionKind val)
{
out.write_ulong(val.value());
}
}
| 4,313 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UShortSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/UShortSeq:1.0
//
final public class UShortSeqHolder implements org.omg.CORBA.portable.Streamable
{
public short[] value;
public
UShortSeqHolder()
{
}
public
UShortSeqHolder(short[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = UShortSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
UShortSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return UShortSeqHelper.type();
}
}
| 4,314 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_IMPLEMENTHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_IMPLEMENTHolder implements
org.omg.CORBA.portable.Streamable {
public NO_IMPLEMENT value;
public NO_IMPLEMENTHolder() {
}
public NO_IMPLEMENTHolder(NO_IMPLEMENT initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = NO_IMPLEMENTHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
NO_IMPLEMENTHelper.write(out, value);
}
public TypeCode _type() {
return NO_IMPLEMENTHelper.type();
}
}
| 4,315 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/Any.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
public abstract class Any implements org.omg.CORBA.portable.IDLEntity {
public abstract boolean equal(org.omg.CORBA.Any a);
public abstract org.omg.CORBA.TypeCode type();
public abstract void type(org.omg.CORBA.TypeCode t);
public abstract void read_value(org.omg.CORBA.portable.InputStream is,
org.omg.CORBA.TypeCode t) throws org.omg.CORBA.MARSHAL;
public abstract void write_value(org.omg.CORBA.portable.OutputStream os);
public abstract org.omg.CORBA.portable.OutputStream create_output_stream();
public abstract org.omg.CORBA.portable.InputStream create_input_stream();
public abstract short extract_short() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_short(short s);
public abstract int extract_long() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_long(int i);
public abstract long extract_longlong() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_longlong(long l);
public abstract short extract_ushort() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_ushort(short s);
public abstract int extract_ulong() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_ulong(int i);
public abstract long extract_ulonglong() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_ulonglong(long l);
public abstract float extract_float() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_float(float f);
public abstract double extract_double() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_double(double d);
public abstract boolean extract_boolean()
throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_boolean(boolean b);
public abstract char extract_char() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_char(char c)
throws org.omg.CORBA.DATA_CONVERSION;
public abstract char extract_wchar() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_wchar(char c)
throws org.omg.CORBA.DATA_CONVERSION;
public abstract byte extract_octet() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_octet(byte b);
public abstract org.omg.CORBA.Any extract_any()
throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_any(org.omg.CORBA.Any a);
public abstract org.omg.CORBA.Object extract_Object()
throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_Object(org.omg.CORBA.Object o);
public abstract void insert_Object(org.omg.CORBA.Object o,
org.omg.CORBA.TypeCode t) throws org.omg.CORBA.BAD_PARAM;
public abstract String extract_string() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_string(String s)
throws org.omg.CORBA.DATA_CONVERSION, org.omg.CORBA.MARSHAL;
public abstract String extract_wstring() throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_wstring(String s) throws org.omg.CORBA.MARSHAL;
public abstract org.omg.CORBA.TypeCode extract_TypeCode()
throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_TypeCode(org.omg.CORBA.TypeCode t);
// Note: Don't use @deprecated here
/**
* Deprecated by CORBA 2.2.
*/
public org.omg.CORBA.Principal extract_Principal()
throws org.omg.CORBA.BAD_OPERATION {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
// Note: Don't use @deprecated here
/**
* Deprecated by CORBA 2.2.
*/
public void insert_Principal(org.omg.CORBA.Principal p) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public org.omg.CORBA.portable.Streamable extract_Streamable()
throws org.omg.CORBA.BAD_INV_ORDER {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void insert_Streamable(org.omg.CORBA.portable.Streamable s) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public java.math.BigDecimal extract_fixed() {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void insert_fixed(java.math.BigDecimal value) {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public void insert_fixed(java.math.BigDecimal value,
org.omg.CORBA.TypeCode type) throws org.omg.CORBA.BAD_INV_ORDER {
throw new org.omg.CORBA.NO_IMPLEMENT();
}
public abstract java.io.Serializable extract_Value()
throws org.omg.CORBA.BAD_OPERATION;
public abstract void insert_Value(java.io.Serializable v);
public abstract void insert_Value(java.io.Serializable v,
org.omg.CORBA.TypeCode t) throws org.omg.CORBA.MARSHAL;
}
| 4,316 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/RepositoryHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Repository:1.0
//
final public class RepositoryHolder implements org.omg.CORBA.portable.Streamable
{
public Repository value;
public
RepositoryHolder()
{
}
public
RepositoryHolder(Repository initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = RepositoryHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
RepositoryHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return RepositoryHelper.type();
}
}
| 4,317 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InterfaceDefSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/InterfaceDefSeq:1.0
//
final public class InterfaceDefSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, InterfaceDef[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static InterfaceDef[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "InterfaceDefSeq", orb.create_sequence_tc(0, InterfaceDefHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/InterfaceDefSeq:1.0";
}
public static InterfaceDef[]
read(org.omg.CORBA.portable.InputStream in)
{
InterfaceDef[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new InterfaceDef[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = InterfaceDefHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, InterfaceDef[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
InterfaceDefHelper.write(out, val[i0]);
}
}
| 4,318 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ParameterModeHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ParameterMode:1.0
//
public abstract class ParameterModeHelper
{
public static void
insert(org.omg.CORBA.Any any, ParameterMode val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ParameterMode
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[3];
members[0] = "PARAM_IN";
members[1] = "PARAM_OUT";
members[2] = "PARAM_INOUT";
typeCode_ = orb.create_enum_tc(id(), "ParameterMode", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ParameterMode:1.0";
}
public static ParameterMode
read(org.omg.CORBA.portable.InputStream in)
{
ParameterMode _ob_v;
_ob_v = ParameterMode.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ParameterMode val)
{
out.write_ulong(val.value());
}
}
| 4,319 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AttributeDef.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/AttributeDef:1.0
//
/***/
public interface AttributeDef extends AttributeDefOperations,
Contained,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,320 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueDescriptionHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueDescription:1.0
//
final public class ValueDescriptionHelper
{
public static void
insert(org.omg.CORBA.Any any, ValueDescription val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ValueDescription
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[10];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "id";
members[1].type = RepositoryIdHelper.type();
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "is_abstract";
members[2].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean);
members[3] = new org.omg.CORBA.StructMember();
members[3].name = "is_custom";
members[3].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean);
members[4] = new org.omg.CORBA.StructMember();
members[4].name = "defined_in";
members[4].type = RepositoryIdHelper.type();
members[5] = new org.omg.CORBA.StructMember();
members[5].name = "version";
members[5].type = VersionSpecHelper.type();
members[6] = new org.omg.CORBA.StructMember();
members[6].name = "supported_interfaces";
members[6].type = RepositoryIdSeqHelper.type();
members[7] = new org.omg.CORBA.StructMember();
members[7].name = "abstract_base_values";
members[7].type = RepositoryIdSeqHelper.type();
members[8] = new org.omg.CORBA.StructMember();
members[8].name = "is_truncatable";
members[8].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean);
members[9] = new org.omg.CORBA.StructMember();
members[9].name = "base_value";
members[9].type = RepositoryIdHelper.type();
typeCode_ = orb.create_struct_tc(id(), "ValueDescription", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ValueDescription:1.0";
}
public static ValueDescription
read(org.omg.CORBA.portable.InputStream in)
{
ValueDescription _ob_v = new ValueDescription();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.id = RepositoryIdHelper.read(in);
_ob_v.is_abstract = in.read_boolean();
_ob_v.is_custom = in.read_boolean();
_ob_v.defined_in = RepositoryIdHelper.read(in);
_ob_v.version = VersionSpecHelper.read(in);
_ob_v.supported_interfaces = RepositoryIdSeqHelper.read(in);
_ob_v.abstract_base_values = RepositoryIdSeqHelper.read(in);
_ob_v.is_truncatable = in.read_boolean();
_ob_v.base_value = RepositoryIdHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ValueDescription val)
{
IdentifierHelper.write(out, val.name);
RepositoryIdHelper.write(out, val.id);
out.write_boolean(val.is_abstract);
out.write_boolean(val.is_custom);
RepositoryIdHelper.write(out, val.defined_in);
VersionSpecHelper.write(out, val.version);
RepositoryIdSeqHelper.write(out, val.supported_interfaces);
RepositoryIdSeqHelper.write(out, val.abstract_base_values);
out.write_boolean(val.is_truncatable);
RepositoryIdHelper.write(out, val.base_value);
}
}
| 4,321 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NativeDefOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/NativeDef:1.0
//
/***/
public interface NativeDefOperations extends TypedefDefOperations
{
}
| 4,322 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/Environment.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
public abstract class Environment {
public abstract void exception(java.lang.Exception except);
public abstract java.lang.Exception exception();
public abstract void clear();
}
| 4,323 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PolicyTypeHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/PolicyType:1.0
//
public abstract class PolicyTypeHelper
{
public static void
insert(org.omg.CORBA.Any any, int val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static int
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "PolicyType", orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/PolicyType:1.0";
}
public static int
read(org.omg.CORBA.portable.InputStream in)
{
int _ob_v;
_ob_v = in.read_ulong();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, int val)
{
out.write_ulong(val);
}
}
| 4,324 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NativeDefSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/NativeDefSeq:1.0
//
final public class NativeDefSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, NativeDef[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NativeDef[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "NativeDefSeq", orb.create_sequence_tc(0, NativeDefHelper.type()));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/NativeDefSeq:1.0";
}
public static NativeDef[]
read(org.omg.CORBA.portable.InputStream in)
{
NativeDef[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new NativeDef[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = NativeDefHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, NativeDef[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
NativeDefHelper.write(out, val[i0]);
}
}
| 4,325 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/Initializer.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Initializer:1.0
//
/***/
final public class Initializer implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/Initializer:1.0";
public
Initializer()
{
}
public
Initializer(StructMember[] members,
String name)
{
this.members = members;
this.name = name;
}
public StructMember[] members;
public String name;
}
| 4,326 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_RESOURCESHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_RESOURCESHolder implements
org.omg.CORBA.portable.Streamable {
public NO_RESOURCES value;
public NO_RESOURCESHolder() {
}
public NO_RESOURCESHolder(NO_RESOURCES initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = NO_RESOURCESHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
NO_RESOURCESHelper.write(out, value);
}
public TypeCode _type() {
return NO_RESOURCESHelper.type();
}
}
| 4,327 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/AttributeMode.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/AttributeMode:1.0
//
/***/
public class AttributeMode implements org.omg.CORBA.portable.IDLEntity
{
private static AttributeMode [] values_ = new AttributeMode[2];
private int value_;
public final static int _ATTR_NORMAL = 0;
public final static AttributeMode ATTR_NORMAL = new AttributeMode(_ATTR_NORMAL);
public final static int _ATTR_READONLY = 1;
public final static AttributeMode ATTR_READONLY = new AttributeMode(_ATTR_READONLY);
protected
AttributeMode(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static AttributeMode
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,328 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PrimitiveKindHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/PrimitiveKind:1.0
//
final public class PrimitiveKindHolder implements org.omg.CORBA.portable.Streamable
{
public PrimitiveKind value;
public
PrimitiveKindHolder()
{
}
public
PrimitiveKindHolder(PrimitiveKind initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PrimitiveKindHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PrimitiveKindHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PrimitiveKindHelper.type();
}
}
| 4,329 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class TRANSACTION_UNAVAILABLE extends
org.omg.CORBA.SystemException {
public TRANSACTION_UNAVAILABLE() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public TRANSACTION_UNAVAILABLE(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public TRANSACTION_UNAVAILABLE(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public TRANSACTION_UNAVAILABLE(String reason, int minor,
CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,330 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_EnumDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/EnumDef:1.0
//
public class _EnumDefStub extends org.omg.CORBA.portable.ObjectImpl
implements EnumDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/EnumDef:1.0",
"IDL:omg.org/CORBA/TypedefDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = EnumDefOperations.class;
//
// IDL:omg.org/CORBA/EnumDef/members:1.0
//
public String[]
members()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_members", true);
in = _invoke(out);
String[] _ob_r = EnumMemberSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("members", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.members();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
members(String[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_members", true);
EnumMemberSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("members", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
_ob_self.members(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
EnumDefOperations _ob_self = (EnumDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,331 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BooleanSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/BooleanSeq:1.0
//
public abstract class BooleanSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, boolean[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static boolean[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "BooleanSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_boolean)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/BooleanSeq:1.0";
}
public static boolean[]
read(org.omg.CORBA.portable.InputStream in)
{
boolean[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new boolean[len0];
in.read_boolean_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, boolean[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_boolean_array(val, 0, len0);
}
}
| 4,332 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DoubleHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class DoubleHolder implements org.omg.CORBA.portable.Streamable {
public double value;
public DoubleHolder() {
}
public DoubleHolder(double initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_double();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_double(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_double);
}
}
| 4,333 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_TYPECODEHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_TYPECODEHolder implements
org.omg.CORBA.portable.Streamable {
public BAD_TYPECODE value;
public BAD_TYPECODEHolder() {
}
public BAD_TYPECODEHolder(BAD_TYPECODE initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = BAD_TYPECODEHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
BAD_TYPECODEHelper.write(out, value);
}
public TypeCode _type() {
return BAD_TYPECODEHelper.type();
}
}
| 4,334 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/CTX_RESTRICT_SCOPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
public interface CTX_RESTRICT_SCOPE {
int value = 15;
}
| 4,335 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INTF_REPOSHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class INTF_REPOSHolder implements
org.omg.CORBA.portable.Streamable {
public INTF_REPOS value;
public INTF_REPOSHolder() {
}
public INTF_REPOSHolder(INTF_REPOS initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = INTF_REPOSHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
INTF_REPOSHelper.write(out, value);
}
public TypeCode _type() {
return INTF_REPOSHelper.type();
}
}
| 4,336 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ULongSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ULongSeq:1.0
//
public abstract class ULongSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, int[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static int[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "ULongSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_ulong)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ULongSeq:1.0";
}
public static int[]
read(org.omg.CORBA.portable.InputStream in)
{
int[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new int[len0];
in.read_ulong_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, int[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_ulong_array(val, 0, len0);
}
}
| 4,337 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StringSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/StringSeq:1.0
//
public abstract class StringSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, String[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static String[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "StringSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_string)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/StringSeq:1.0";
}
public static String[]
read(org.omg.CORBA.portable.InputStream in)
{
String[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new String[len0];
for(int i0 = 0; i0 < len0; i0++)
_ob_v[i0] = in.read_string();
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, String[] val)
{
int len0 = val.length;
out.write_ulong(len0);
for(int i0 = 0; i0 < len0; i0++)
out.write_string(val[i0]);
}
}
| 4,338 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_IRObjectStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/IRObject:1.0
//
public class _IRObjectStub extends org.omg.CORBA.portable.ObjectImpl
implements IRObject
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/IRObject:1.0",
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = IRObjectOperations.class;
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
IRObjectOperations _ob_self = (IRObjectOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
IRObjectOperations _ob_self = (IRObjectOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,339 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PrimitiveDef.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/PrimitiveDef:1.0
//
/***/
public interface PrimitiveDef extends PrimitiveDefOperations,
IDLType,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,340 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StringDefHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/StringDef:1.0
//
final public class StringDefHelper
{
public static void
insert(org.omg.CORBA.Any any, StringDef val)
{
any.insert_Object(val, type());
}
public static StringDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "StringDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/StringDef:1.0";
}
public static StringDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (StringDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_StringDefStub _ob_stub = new _StringDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, StringDef val)
{
out.write_Object(val);
}
public static StringDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (StringDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_StringDefStub _ob_stub = new _StringDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static StringDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (StringDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_StringDefStub _ob_stub = new _StringDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,341 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContainerHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Container:1.0
//
final public class ContainerHolder implements org.omg.CORBA.portable.Streamable
{
public Container value;
public
ContainerHolder()
{
}
public
ContainerHolder(Container initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ContainerHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ContainerHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ContainerHelper.type();
}
}
| 4,342 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_TypedefDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/TypedefDef:1.0
//
public class _TypedefDefStub extends org.omg.CORBA.portable.ObjectImpl
implements TypedefDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/TypedefDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = TypedefDefOperations.class;
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
TypedefDefOperations _ob_self = (TypedefDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,343 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FloatSeqHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/FloatSeq:1.0
//
final public class FloatSeqHolder implements org.omg.CORBA.portable.Streamable
{
public float[] value;
public
FloatSeqHolder()
{
}
public
FloatSeqHolder(float[] initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = FloatSeqHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
FloatSeqHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return FloatSeqHelper.type();
}
}
| 4,344 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/InvalidPolicies.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/InvalidPolicies:1.0
//
/***/
final public class InvalidPolicies extends org.omg.CORBA.UserException
{
private static final String _ob_id = "IDL:omg.org/CORBA/InvalidPolicies:1.0";
public
InvalidPolicies()
{
super(_ob_id);
}
public
InvalidPolicies(short[] indices)
{
super(_ob_id);
this.indices = indices;
}
public
InvalidPolicies(String _reason,
short[] indices)
{
super(_ob_id + " " + _reason);
this.indices = indices;
}
public short[] indices;
}
| 4,345 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueMemberDef.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueMemberDef:1.0
//
/***/
public interface ValueMemberDef extends ValueMemberDefOperations,
Contained,
org.omg.CORBA.portable.IDLEntity
{
}
| 4,346 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_OPERATION.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_OPERATION extends org.omg.CORBA.SystemException {
public BAD_OPERATION() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public BAD_OPERATION(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public BAD_OPERATION(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public BAD_OPERATION(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,347 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Pollable:1.0
//
final public class PollableHolder implements org.omg.CORBA.portable.Streamable
{
public Pollable value;
public
PollableHolder()
{
}
public
PollableHolder(Pollable initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = PollableHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
PollableHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return PollableHelper.type();
}
}
| 4,348 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/SetOverrideTypeHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/SetOverrideType:1.0
//
public abstract class SetOverrideTypeHelper
{
public static void
insert(org.omg.CORBA.Any any, SetOverrideType val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static SetOverrideType
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
String[] members = new String[2];
members[0] = "SET_OVERRIDE";
members[1] = "ADD_OVERRIDE";
typeCode_ = orb.create_enum_tc(id(), "SetOverrideType", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/SetOverrideType:1.0";
}
public static SetOverrideType
read(org.omg.CORBA.portable.InputStream in)
{
SetOverrideType _ob_v;
_ob_v = SetOverrideType.from_int(in.read_ulong());
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, SetOverrideType val)
{
out.write_ulong(val.value());
}
}
| 4,349 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UNSUPPORTED_POLICY.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/UNSUPPORTED_POLICY:1.0
//
/***/
public interface UNSUPPORTED_POLICY
{
short value = (short)(1L);
}
| 4,350 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_MEMORYHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_MEMORYHelper {
public static void insert(Any any, NO_MEMORY val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static NO_MEMORY extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "NO_MEMORY", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/NO_MEMORY:1.0";
}
public static NO_MEMORY read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
NO_MEMORY val = new NO_MEMORY();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
NO_MEMORY val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,351 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FixedDefHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/FixedDef:1.0
//
final public class FixedDefHelper
{
public static void
insert(org.omg.CORBA.Any any, FixedDef val)
{
any.insert_Object(val, type());
}
public static FixedDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "FixedDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/FixedDef:1.0";
}
public static FixedDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (FixedDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_FixedDefStub _ob_stub = new _FixedDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, FixedDef val)
{
out.write_Object(val);
}
public static FixedDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (FixedDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_FixedDefStub _ob_stub = new _FixedDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static FixedDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (FixedDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_FixedDefStub _ob_stub = new _FixedDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,352 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/SystemExceptionHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class SystemExceptionHelper {
final static private int _BAD_CONTEXT = 0;
final static private int _BAD_INV_ORDER = 1;
final static private int _BAD_OPERATION = 2;
final static private int _BAD_PARAM = 3;
final static private int _BAD_QOS = 4;
final static private int _BAD_TYPECODE = 5;
final static private int _CODESET_INCOMPATIBLE = 6;
final static private int _COMM_FAILURE = 7;
final static private int _DATA_CONVERSION = 8;
final static private int _FREE_MEM = 9;
final static private int _IMP_LIMIT = 10;
final static private int _INITIALIZE = 11;
final static private int _INTERNAL = 12;
final static private int _INTF_REPOS = 13;
final static private int _INVALID_TRANSACTION = 14;
final static private int _INV_FLAG = 15;
final static private int _INV_IDENT = 16;
final static private int _INV_OBJREF = 17;
final static private int _INV_POLICY = 18;
final static private int _MARSHAL = 19;
final static private int _NO_IMPLEMENT = 20;
final static private int _NO_MEMORY = 21;
final static private int _NO_PERMISSION = 22;
final static private int _NO_RESOURCES = 23;
final static private int _NO_RESPONSE = 24;
final static private int _OBJECT_NOT_EXIST = 25;
final static private int _OBJ_ADAPTER = 26;
final static private int _PERSIST_STORE = 27;
final static private int _REBIND = 28;
final static private int _TIMEOUT = 29;
final static private int _TRANSACTION_MODE = 30;
final static private int _TRANSACTION_REQUIRED = 31;
final static private int _TRANSACTION_ROLLEDBACK = 32;
final static private int _TRANSACTION_UNAVAILABLE = 33;
final static private int _TRANSIENT = 34;
final static private int _UNKNOWN = 35;
private static String[] classes_ = { "org.omg.CORBA.BAD_CONTEXT",
"org.omg.CORBA.BAD_INV_ORDER", "org.omg.CORBA.BAD_OPERATION",
"org.omg.CORBA.BAD_PARAM", "org.omg.CORBA.BAD_QOS",
"org.omg.CORBA.BAD_TYPECODE", "org.omg.CORBA.CODESET_INCOMPATIBLE",
"org.omg.CORBA.COMM_FAILURE", "org.omg.CORBA.DATA_CONVERSION",
"org.omg.CORBA.FREE_MEM", "org.omg.CORBA.IMP_LIMIT",
"org.omg.CORBA.INITIALIZE", "org.omg.CORBA.INTERNAL",
"org.omg.CORBA.INTF_REPOS", "org.omg.CORBA.INVALID_TRANSACTION",
"org.omg.CORBA.INV_FLAG", "org.omg.CORBA.INV_IDENT",
"org.omg.CORBA.INV_OBJREF", "org.omg.CORBA.INV_POLICY",
"org.omg.CORBA.MARSHAL", "org.omg.CORBA.NO_IMPLEMENT",
"org.omg.CORBA.NO_MEMORY", "org.omg.CORBA.NO_PERMISSION",
"org.omg.CORBA.NO_RESOURCES", "org.omg.CORBA.NO_RESPONSE",
"org.omg.CORBA.OBJECT_NOT_EXIST", "org.omg.CORBA.OBJ_ADAPTER",
"org.omg.CORBA.PERSIST_STORE", "org.omg.CORBA.REBIND",
"org.omg.CORBA.TIMEOUT", "org.omg.CORBA.TRANSACTION_MODE",
"org.omg.CORBA.TRANSACTION_REQUIRED",
"org.omg.CORBA.TRANSACTION_ROLLEDBACK",
"org.omg.CORBA.TRANSACTION_UNAVAILABLE", "org.omg.CORBA.TRANSIENT",
"org.omg.CORBA.UNKNOWN" };
private static String[] names_ = { "BAD_CONTEXT", "BAD_INV_ORDER",
"BAD_OPERATION", "BAD_PARAM", "BAD_QOS", "BAD_TYPECODE",
"CODESET_INCOMPATIBLE", "COMM_FAILURE", "DATA_CONVERSION",
"FREE_MEM", "IMP_LIMIT", "INITIALIZE", "INTERNAL", "INTF_REPOS",
"INVALID_TRANSACTION", "INV_FLAG", "INV_IDENT", "INV_OBJREF",
"INV_POLICY", "MARSHAL", "NO_IMPLEMENT", "NO_MEMORY",
"NO_PERMISSION", "NO_RESOURCES", "NO_RESPONSE", "OBJECT_NOT_EXIST",
"OBJ_ADAPTER", "PERSIST_STORE", "REBIND", "TIMEOUT",
"TRANSACTION_MODE", "TRANSACTION_REQUIRED",
"TRANSACTION_ROLLEDBACK", "TRANSACTION_UNAVAILABLE", "TRANSIENT",
"UNKNOWN" };
private static String[] ids_ = { "IDL:omg.org/CORBA/BAD_CONTEXT:1.0",
"IDL:omg.org/CORBA/BAD_INV_ORDER:1.0",
"IDL:omg.org/CORBA/BAD_OPERATION:1.0",
"IDL:omg.org/CORBA/BAD_PARAM:1.0", "IDL:omg.org/CORBA/BAD_QOS:1.0",
"IDL:omg.org/CORBA/BAD_TYPECODE:1.0",
"IDL:omg.org/CORBA/CODESET_INCOMPATIBLE:1.0",
"IDL:omg.org/CORBA/COMM_FAILURE:1.0",
"IDL:omg.org/CORBA/DATA_CONVERSION:1.0",
"IDL:omg.org/CORBA/FREE_MEM:1.0",
"IDL:omg.org/CORBA/IMP_LIMIT:1.0",
"IDL:omg.org/CORBA/INITIALIZE:1.0",
"IDL:omg.org/CORBA/INTERNAL:1.0",
"IDL:omg.org/CORBA/INTF_REPOS:1.0",
"IDL:omg.org/CORBA/INVALID_TRANSACTION:1.0",
"IDL:omg.org/CORBA/INV_FLAG:1.0",
"IDL:omg.org/CORBA/INV_IDENT:1.0",
"IDL:omg.org/CORBA/INV_OBJREF:1.0",
"IDL:omg.org/CORBA/INV_POLICY:1.0",
"IDL:omg.org/CORBA/MARSHAL:1.0",
"IDL:omg.org/CORBA/NO_IMPLEMENT:1.0",
"IDL:omg.org/CORBA/NO_MEMORY:1.0",
"IDL:omg.org/CORBA/NO_PERMISSION:1.0",
"IDL:omg.org/CORBA/NO_RESOURCES:1.0",
"IDL:omg.org/CORBA/NO_RESPONSE:1.0",
"IDL:omg.org/CORBA/OBJECT_NOT_EXIST:1.0",
"IDL:omg.org/CORBA/OBJ_ADAPTER:1.0",
"IDL:omg.org/CORBA/PERSIST_STORE:1.0",
"IDL:omg.org/CORBA/REBIND:1.0", "IDL:omg.org/CORBA/TIMEOUT:1.0",
"IDL:omg.org/CORBA/TRANSACTION_MODE:1.0",
"IDL:omg.org/CORBA/TRANSACTION_REQUIRED:1.0",
"IDL:omg.org/CORBA/TRANSACTION_ROLLEDBACK:1.0",
"IDL:omg.org/CORBA/TRANSACTION_UNAVAILABLE:1.0",
"IDL:omg.org/CORBA/TRANSIENT:1.0", "IDL:omg.org/CORBA/UNKNOWN:1.0" };
private static int binarySearch(String[] arr, String value) {
int left = 0;
int right = arr.length;
int index = -1;
while (left < right) {
int m = (left + right) / 2;
int res = arr[m].compareTo(value);
if (res == 0) {
index = m;
break;
} else if (res > 0)
right = m;
else
left = m + 1;
}
return index;
}
private static TypeCode createTypeCode(String id, String name) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
return orb.create_exception_tc(id, name, members);
}
private static void writeImpl(org.omg.CORBA.portable.OutputStream out,
SystemException val, String id) {
out.write_string(id);
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
public static void insert(Any any, SystemException val) {
String className = val.getClass().getName();
int index = binarySearch(classes_, className);
String id;
if (index == -1)
id = ids_[_UNKNOWN];
else
id = ids_[index];
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
writeImpl(out, val, id);
any.read_value(out.create_input_stream(), createTypeCode(id,
names_[index]));
}
public static SystemException extract(Any any) {
try {
TypeCode tc = any.type();
String id = tc.id();
if (tc.kind() == TCKind.tk_except
&& (id.length() == 0 || binarySearch(ids_, id) != -1)) {
return read(any.create_input_stream());
}
} catch (org.omg.CORBA.TypeCodePackage.BadKind ex) {
}
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null)
typeCode_ = createTypeCode(id(), "SystemException");
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/SystemException:1.0";
}
public static SystemException read(org.omg.CORBA.portable.InputStream in) {
String id = in.read_string();
int minor = in.read_ulong();
org.omg.CORBA.CompletionStatus status = org.omg.CORBA.CompletionStatus
.from_int(in.read_ulong());
int n = binarySearch(ids_, id);
switch (n) {
case _BAD_CONTEXT:
return new BAD_CONTEXT(minor, status);
case _BAD_INV_ORDER:
return new BAD_INV_ORDER(minor, status);
case _BAD_OPERATION:
return new BAD_OPERATION(minor, status);
case _BAD_PARAM:
return new BAD_PARAM(minor, status);
case _BAD_QOS:
return new BAD_QOS(minor, status);
case _BAD_TYPECODE:
return new BAD_TYPECODE(minor, status);
case _CODESET_INCOMPATIBLE:
return new CODESET_INCOMPATIBLE(minor, status);
case _COMM_FAILURE:
return new COMM_FAILURE(minor, status);
case _DATA_CONVERSION:
return new DATA_CONVERSION(minor, status);
case _FREE_MEM:
return new FREE_MEM(minor, status);
case _IMP_LIMIT:
return new IMP_LIMIT(minor, status);
case _INITIALIZE:
return new INITIALIZE(minor, status);
case _INTERNAL:
return new INTERNAL(minor, status);
case _INTF_REPOS:
return new INTF_REPOS(minor, status);
case _INVALID_TRANSACTION:
return new INVALID_TRANSACTION(minor, status);
case _INV_FLAG:
return new INV_FLAG(minor, status);
case _INV_IDENT:
return new INV_IDENT(minor, status);
case _INV_OBJREF:
return new INV_OBJREF(minor, status);
case _INV_POLICY:
return new INV_POLICY(minor, status);
case _MARSHAL:
return new MARSHAL(minor, status);
case _NO_IMPLEMENT:
return new NO_IMPLEMENT(minor, status);
case _NO_MEMORY:
return new NO_MEMORY(minor, status);
case _NO_PERMISSION:
return new NO_PERMISSION(minor, status);
case _NO_RESOURCES:
return new NO_RESOURCES(minor, status);
case _NO_RESPONSE:
return new NO_RESPONSE(minor, status);
case _OBJECT_NOT_EXIST:
return new OBJECT_NOT_EXIST(minor, status);
case _OBJ_ADAPTER:
return new OBJ_ADAPTER(minor, status);
case _PERSIST_STORE:
return new PERSIST_STORE(minor, status);
case _REBIND:
return new REBIND(minor, status);
case _TIMEOUT:
return new TIMEOUT(minor, status);
case _TRANSACTION_MODE:
return new TRANSACTION_MODE(minor, status);
case _TRANSACTION_REQUIRED:
return new TRANSACTION_REQUIRED(minor, status);
case _TRANSACTION_ROLLEDBACK:
return new TRANSACTION_ROLLEDBACK(minor, status);
case _TRANSACTION_UNAVAILABLE:
return new TRANSACTION_UNAVAILABLE(minor, status);
case _TRANSIENT:
return new TRANSIENT(minor, status);
case _UNKNOWN:
default:
return new UNKNOWN(minor, status);
}
}
public static void write(org.omg.CORBA.portable.OutputStream out,
SystemException val) {
String className = val.getClass().getName();
int index = binarySearch(classes_, className);
String id;
if (index == -1)
id = ids_[_UNKNOWN];
else
id = ids_[index];
writeImpl(out, val, id);
}
}
| 4,353 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/SetOverrideType.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/SetOverrideType:1.0
//
/***/
public class SetOverrideType implements org.omg.CORBA.portable.IDLEntity
{
private static SetOverrideType [] values_ = new SetOverrideType[2];
private int value_;
public final static int _SET_OVERRIDE = 0;
public final static SetOverrideType SET_OVERRIDE = new SetOverrideType(_SET_OVERRIDE);
public final static int _ADD_OVERRIDE = 1;
public final static SetOverrideType ADD_OVERRIDE = new SetOverrideType(_ADD_OVERRIDE);
protected
SetOverrideType(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static SetOverrideType
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,354 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DataOutputStreamHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/DataOutputStream:1.0
//
final public class DataOutputStreamHelper
{
public static void
insert(org.omg.CORBA.Any any, DataOutputStream val)
{
any.insert_Value(val, type());
}
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();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0];
typeCode_ = orb.create_value_tc(id(), "DataOutputStream", org.omg.CORBA.VM_ABSTRACT.value, null, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/DataOutputStream:1.0";
}
public static DataOutputStream
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (DataOutputStream)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, DataOutputStream val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,355 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_OPERATIONHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_OPERATIONHelper {
public static void insert(Any any, BAD_OPERATION val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static BAD_OPERATION extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "BAD_OPERATION", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/BAD_OPERATION:1.0";
}
public static BAD_OPERATION read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
BAD_OPERATION val = new BAD_OPERATION();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
BAD_OPERATION val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,356 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/EnumDefHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/EnumDef:1.0
//
final public class EnumDefHelper
{
public static void
insert(org.omg.CORBA.Any any, EnumDef val)
{
any.insert_Object(val, type());
}
public static EnumDef
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return narrow(any.extract_Object());
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_interface_tc(id(), "EnumDef");
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/EnumDef:1.0";
}
public static EnumDef
read(org.omg.CORBA.portable.InputStream in)
{
org.omg.CORBA.Object _ob_v = in.read_Object();
try
{
return (EnumDef)_ob_v;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)_ob_v;
_EnumDefStub _ob_stub = new _EnumDefStub();
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, EnumDef val)
{
out.write_Object(val);
}
public static EnumDef
narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (EnumDef)val;
}
catch(ClassCastException ex)
{
}
if(val._is_a(id()))
{
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_EnumDefStub _ob_stub = new _EnumDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
throw new org.omg.CORBA.BAD_PARAM();
}
return null;
}
public static EnumDef
unchecked_narrow(org.omg.CORBA.Object val)
{
if(val != null)
{
try
{
return (EnumDef)val;
}
catch(ClassCastException ex)
{
}
org.omg.CORBA.portable.ObjectImpl _ob_impl;
_EnumDefStub _ob_stub = new _EnumDefStub();
_ob_impl = (org.omg.CORBA.portable.ObjectImpl)val;
_ob_stub._set_delegate(_ob_impl._get_delegate());
return _ob_stub;
}
return null;
}
}
| 4,357 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_ConstantDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ConstantDef:1.0
//
public class _ConstantDefStub extends org.omg.CORBA.portable.ObjectImpl
implements ConstantDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/ConstantDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = ConstantDefOperations.class;
//
// IDL:omg.org/CORBA/ConstantDef/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ConstantDef/type_def:1.0
//
public IDLType
type_def()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type_def", true);
in = _invoke(out);
IDLType _ob_r = IDLTypeHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type_def", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.type_def();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
type_def(IDLType _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_type_def", true);
IDLTypeHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type_def", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.type_def(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ConstantDef/value:1.0
//
public org.omg.CORBA.Any
value()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_value", true);
in = _invoke(out);
org.omg.CORBA.Any _ob_r = in.read_any();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("value", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.value();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
value(org.omg.CORBA.Any _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_value", true);
out.write_any(_ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("value", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.value(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
ConstantDefOperations _ob_self = (ConstantDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,358 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/OBJECT_NOT_EXIST.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class OBJECT_NOT_EXIST extends org.omg.CORBA.SystemException {
public OBJECT_NOT_EXIST() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public OBJECT_NOT_EXIST(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public OBJECT_NOT_EXIST(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public OBJECT_NOT_EXIST(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,359 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ParameterMode.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ParameterMode:1.0
//
/***/
public class ParameterMode implements org.omg.CORBA.portable.IDLEntity
{
private static ParameterMode [] values_ = new ParameterMode[3];
private int value_;
public final static int _PARAM_IN = 0;
public final static ParameterMode PARAM_IN = new ParameterMode(_PARAM_IN);
public final static int _PARAM_OUT = 1;
public final static ParameterMode PARAM_OUT = new ParameterMode(_PARAM_OUT);
public final static int _PARAM_INOUT = 2;
public final static ParameterMode PARAM_INOUT = new ParameterMode(_PARAM_INOUT);
protected
ParameterMode(int value)
{
values_[value] = this;
value_ = value;
}
public int
value()
{
return value_;
}
public static ParameterMode
from_int(int value)
{
if(value < values_.length)
return values_[value];
else
throw new org.omg.CORBA.BAD_PARAM("Value (" + value + ") out of range", 25, org.omg.CORBA.CompletionStatus.COMPLETED_NO);
}
private java.lang.Object
readResolve()
throws java.io.ObjectStreamException
{
return from_int(value());
}
}
| 4,360 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/OperationDescription.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/OperationDescription:1.0
//
/***/
final public class OperationDescription implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/OperationDescription:1.0";
public
OperationDescription()
{
}
public
OperationDescription(String name,
String id,
String defined_in,
String version,
org.omg.CORBA.TypeCode result,
OperationMode mode,
String[] contexts,
ParameterDescription[] parameters,
ExceptionDescription[] exceptions,
NativeDescription[] natives)
{
this.name = name;
this.id = id;
this.defined_in = defined_in;
this.version = version;
this.result = result;
this.mode = mode;
this.contexts = contexts;
this.parameters = parameters;
this.exceptions = exceptions;
this.natives = natives;
}
public String name;
public String id;
public String defined_in;
public String version;
public org.omg.CORBA.TypeCode result;
public OperationMode mode;
public String[] contexts;
public ParameterDescription[] parameters;
public ExceptionDescription[] exceptions;
public NativeDescription[] natives;
}
| 4,361 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_QOS.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_QOS extends org.omg.CORBA.SystemException {
public BAD_QOS() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public BAD_QOS(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public BAD_QOS(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public BAD_QOS(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,362 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/IMP_LIMITHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class IMP_LIMITHelper {
public static void insert(Any any, IMP_LIMIT val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static IMP_LIMIT extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "IMP_LIMIT", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/IMP_LIMIT:1.0";
}
public static IMP_LIMIT read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
IMP_LIMIT val = new IMP_LIMIT();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
IMP_LIMIT val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,363 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/REBINDHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class REBINDHelper {
public static void insert(Any any, REBIND val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static REBIND extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "REBIND", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/REBIND:1.0";
}
public static REBIND read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
REBIND val = new REBIND();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out, REBIND val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,364 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UnionMember.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/UnionMember:1.0
//
/***/
final public class UnionMember implements org.omg.CORBA.portable.IDLEntity
{
private static final String _ob_id = "IDL:omg.org/CORBA/UnionMember:1.0";
public
UnionMember()
{
}
public
UnionMember(String name,
org.omg.CORBA.Any label,
org.omg.CORBA.TypeCode type,
IDLType type_def)
{
this.name = name;
this.label = label;
this.type = type;
this.type_def = type_def;
}
public String name;
public org.omg.CORBA.Any label;
public org.omg.CORBA.TypeCode type;
public IDLType type_def;
}
| 4,365 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StructMemberHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/StructMember:1.0
//
final public class StructMemberHolder implements org.omg.CORBA.portable.Streamable
{
public StructMember value;
public
StructMemberHolder()
{
}
public
StructMemberHolder(StructMember initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = StructMemberHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
StructMemberHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return StructMemberHelper.type();
}
}
| 4,366 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INITIALIZE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class INITIALIZE extends org.omg.CORBA.SystemException {
public INITIALIZE() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public INITIALIZE(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public INITIALIZE(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public INITIALIZE(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,367 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServiceDetailHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ServiceDetail:1.0
//
public abstract class ServiceDetailHelper
{
public static void
insert(org.omg.CORBA.Any any, ServiceDetail val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static ServiceDetail
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[2];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "service_detail_type";
members[0].type = ServiceDetailTypeHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "service_detail";
members[1].type = orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_octet));
typeCode_ = orb.create_struct_tc(id(), "ServiceDetail", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/ServiceDetail:1.0";
}
public static ServiceDetail
read(org.omg.CORBA.portable.InputStream in)
{
ServiceDetail _ob_v = new ServiceDetail();
_ob_v.service_detail_type = ServiceDetailTypeHelper.read(in);
int len0 = in.read_ulong();
_ob_v.service_detail = new byte[len0];
in.read_octet_array(_ob_v.service_detail, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, ServiceDetail val)
{
ServiceDetailTypeHelper.write(out, val.service_detail_type);
int len0 = val.service_detail.length;
out.write_ulong(len0);
out.write_octet_array(val.service_detail, 0, len0);
}
}
| 4,368 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_PARAMHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_PARAMHelper {
public static void insert(Any any, BAD_PARAM val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static BAD_PARAM extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "BAD_PARAM", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/BAD_PARAM:1.0";
}
public static BAD_PARAM read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
BAD_PARAM val = new BAD_PARAM();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
BAD_PARAM val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,369 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/IMP_LIMITHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class IMP_LIMITHolder implements org.omg.CORBA.portable.Streamable {
public IMP_LIMIT value;
public IMP_LIMITHolder() {
}
public IMP_LIMITHolder(IMP_LIMIT initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = IMP_LIMITHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
IMP_LIMITHelper.write(out, value);
}
public TypeCode _type() {
return IMP_LIMITHelper.type();
}
}
| 4,370 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ServiceDetailHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ServiceDetail:1.0
//
final public class ServiceDetailHolder implements org.omg.CORBA.portable.Streamable
{
public ServiceDetail value;
public
ServiceDetailHolder()
{
}
public
ServiceDetailHolder(ServiceDetail initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = ServiceDetailHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
ServiceDetailHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return ServiceDetailHelper.type();
}
}
| 4,371 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_FixedDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/FixedDef:1.0
//
public class _FixedDefStub extends org.omg.CORBA.portable.ObjectImpl
implements FixedDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/FixedDef:1.0",
"IDL:omg.org/CORBA/IDLType:1.0",
"IDL:omg.org/CORBA/IRObject:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = FixedDefOperations.class;
//
// IDL:omg.org/CORBA/FixedDef/digits:1.0
//
public short
digits()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_digits", true);
in = _invoke(out);
short _ob_r = in.read_ushort();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("digits", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
return _ob_self.digits();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
digits(short _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_digits", true);
out.write_ushort(_ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("digits", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
_ob_self.digits(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/FixedDef/scale:1.0
//
public short
scale()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_scale", true);
in = _invoke(out);
short _ob_r = in.read_short();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("scale", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
return _ob_self.scale();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
scale(short _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_scale", true);
out.write_short(_ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("scale", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
_ob_self.scale(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
FixedDefOperations _ob_self = (FixedDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,372 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_POLICY_TYPE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/BAD_POLICY_TYPE:1.0
//
/***/
public interface BAD_POLICY_TYPE
{
short value = (short)(2L);
}
| 4,373 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ShortHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class ShortHolder implements org.omg.CORBA.portable.Streamable {
public short value;
public ShortHolder() {
}
public ShortHolder(short initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream input) {
value = input.read_short();
}
public void _write(org.omg.CORBA.portable.OutputStream output) {
output.write_short(value);
}
public org.omg.CORBA.TypeCode _type() {
return org.omg.CORBA.ORB.init().get_primitive_tc(TCKind.tk_short);
}
}
| 4,374 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/REBINDHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class REBINDHolder implements org.omg.CORBA.portable.Streamable {
public REBIND value;
public REBINDHolder() {
}
public REBINDHolder(REBIND initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = REBINDHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
REBINDHelper.write(out, value);
}
public TypeCode _type() {
return REBINDHelper.type();
}
}
| 4,375 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/StructMemberHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/StructMember:1.0
//
public abstract class StructMemberHelper
{
public static void
insert(org.omg.CORBA.Any any, StructMember val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static StructMember
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.StructMember[] members = new org.omg.CORBA.StructMember[3];
members[0] = new org.omg.CORBA.StructMember();
members[0].name = "name";
members[0].type = IdentifierHelper.type();
members[1] = new org.omg.CORBA.StructMember();
members[1].name = "type";
members[1].type = orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_TypeCode);
members[2] = new org.omg.CORBA.StructMember();
members[2].name = "type_def";
members[2].type = IDLTypeHelper.type();
typeCode_ = orb.create_struct_tc(id(), "StructMember", members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/StructMember:1.0";
}
public static StructMember
read(org.omg.CORBA.portable.InputStream in)
{
StructMember _ob_v = new StructMember();
_ob_v.name = IdentifierHelper.read(in);
_ob_v.type = in.read_TypeCode();
_ob_v.type_def = IDLTypeHelper.read(in);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, StructMember val)
{
IdentifierHelper.write(out, val.name);
out.write_TypeCode(val.type);
IDLTypeHelper.write(out, val.type_def);
}
}
| 4,376 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_PARAMHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_PARAMHolder implements org.omg.CORBA.portable.Streamable {
public BAD_PARAM value;
public BAD_PARAMHolder() {
}
public BAD_PARAMHolder(BAD_PARAM initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = BAD_PARAMHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
BAD_PARAMHelper.write(out, value);
}
public TypeCode _type() {
return BAD_PARAMHelper.type();
}
}
| 4,377 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_MEMORYHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_MEMORYHolder implements org.omg.CORBA.portable.Streamable {
public NO_MEMORY value;
public NO_MEMORYHolder() {
}
public NO_MEMORYHolder(NO_MEMORY initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = NO_MEMORYHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
NO_MEMORYHelper.write(out, value);
}
public TypeCode _type() {
return NO_MEMORYHelper.type();
}
}
| 4,378 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_ExceptionDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ExceptionDef:1.0
//
public class _ExceptionDefStub extends org.omg.CORBA.portable.ObjectImpl
implements ExceptionDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/ExceptionDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Container:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = ExceptionDefOperations.class;
//
// IDL:omg.org/CORBA/ExceptionDef/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/ExceptionDef/members:1.0
//
public StructMember[]
members()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_members", true);
in = _invoke(out);
StructMember[] _ob_r = StructMemberSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("members", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.members();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
members(StructMember[] _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_members", true);
StructMemberSeqHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("members", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
_ob_self.members(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
public Contained
lookup(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup", true);
ScopedNameHelper.write(out, _ob_a0);
in = _invoke(out);
Contained _ob_r = ContainedHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
public Contained[]
contents(DefinitionKind _ob_a0,
boolean _ob_a1)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contents", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.contents(_ob_a0, _ob_a1);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
public Contained[]
lookup_name(String _ob_a0,
int _ob_a1,
DefinitionKind _ob_a2,
boolean _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup_name", true);
IdentifierHelper.write(out, _ob_a0);
out.write_long(_ob_a1);
DefinitionKindHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup_name", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup_name(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
public org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind _ob_a0,
boolean _ob_a1,
int _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
out.write_long(_ob_a2);
in = _invoke(out);
org.omg.CORBA.ContainerPackage.Description[] _ob_r = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_contents", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_contents(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
public ModuleDef
create_module(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_module", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
ModuleDef _ob_r = ModuleDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_module", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_module(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
public ConstantDef
create_constant(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
org.omg.CORBA.Any _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_constant", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
out.write_any(_ob_a4);
in = _invoke(out);
ConstantDef _ob_r = ConstantDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_constant", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_constant(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
public StructDef
create_struct(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_struct", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
StructDef _ob_r = StructDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_struct", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_struct(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
public UnionDef
create_union(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
UnionMember[] _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_union", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
UnionMemberSeqHelper.write(out, _ob_a4);
in = _invoke(out);
UnionDef _ob_r = UnionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_union", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_union(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
public EnumDef
create_enum(String _ob_a0,
String _ob_a1,
String _ob_a2,
String[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_enum", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
EnumMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
EnumDef _ob_r = EnumDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_enum", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_enum(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
public AliasDef
create_alias(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_alias", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
AliasDef _ob_r = AliasDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_alias", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_alias(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
public InterfaceDef
create_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
InterfaceDef _ob_r = InterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
public AbstractInterfaceDef
create_abstract_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
AbstractInterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_abstract_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
AbstractInterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
AbstractInterfaceDef _ob_r = AbstractInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_abstract_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_abstract_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
public LocalInterfaceDef
create_local_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_local_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
LocalInterfaceDef _ob_r = LocalInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_local_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_local_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
public ExceptionDef
create_exception(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_exception", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
ExceptionDef _ob_r = ExceptionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_exception", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_exception(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
public ValueDef
create_value(String _ob_a0,
String _ob_a1,
String _ob_a2,
boolean _ob_a3,
boolean _ob_a4,
ValueDef _ob_a5,
boolean _ob_a6,
ValueDef[] _ob_a7,
InterfaceDef[] _ob_a8,
Initializer[] _ob_a9)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
out.write_boolean(_ob_a4);
ValueDefHelper.write(out, _ob_a5);
out.write_boolean(_ob_a6);
ValueDefSeqHelper.write(out, _ob_a7);
InterfaceDefSeqHelper.write(out, _ob_a8);
InitializerSeqHelper.write(out, _ob_a9);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8, _ob_a9);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
public ValueBoxDef
create_value_box(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_box", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
ValueBoxDef _ob_r = ValueBoxDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_box", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_box(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
public NativeDef
create_native(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_native", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
NativeDef _ob_r = NativeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_native", _ob_opsClass);
if(_ob_so == null)
continue;
ExceptionDefOperations _ob_self = (ExceptionDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,379 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/UserException.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
abstract public class UserException extends java.lang.Exception implements
org.omg.CORBA.portable.IDLEntity {
public UserException() {
super();
}
public UserException(java.lang.String value) {
super(value);
}
}
| 4,380 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ContainerOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Container:1.0
//
/***/
public interface ContainerOperations extends IRObjectOperations
{
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
/***/
Contained
lookup(String search_name);
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
/***/
Contained[]
contents(DefinitionKind limit_type,
boolean exclude_inherited);
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
/***/
Contained[]
lookup_name(String search_name,
int levels_to_search,
DefinitionKind limit_type,
boolean exclude_inherited);
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
/***/
org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind limit_type,
boolean exclude_inherited,
int max_returned_objs);
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
/***/
ModuleDef
create_module(String id,
String name,
String version);
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
/***/
ConstantDef
create_constant(String id,
String name,
String version,
IDLType type,
org.omg.CORBA.Any value);
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
/***/
StructDef
create_struct(String id,
String name,
String version,
StructMember[] members);
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
/***/
UnionDef
create_union(String id,
String name,
String version,
IDLType discriminator_type,
UnionMember[] members);
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
/***/
EnumDef
create_enum(String id,
String name,
String version,
String[] members);
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
/***/
AliasDef
create_alias(String id,
String name,
String version,
IDLType original_type);
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
/***/
InterfaceDef
create_interface(String id,
String name,
String version,
InterfaceDef[] base_interfaces);
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
/***/
AbstractInterfaceDef
create_abstract_interface(String id,
String name,
String version,
AbstractInterfaceDef[] base_interfaces);
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
/***/
LocalInterfaceDef
create_local_interface(String id,
String name,
String version,
InterfaceDef[] base_interfaces);
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
/***/
ExceptionDef
create_exception(String id,
String name,
String version,
StructMember[] members);
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
/***/
ValueDef
create_value(String id,
String name,
String version,
boolean is_custom,
boolean is_abstract,
ValueDef base_value,
boolean is_truncatable,
ValueDef[] abstract_base_values,
InterfaceDef[] supported_interfaces,
Initializer[] initializers);
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
/***/
ValueBoxDef
create_value_box(String id,
String name,
String version,
IDLType original_type_def);
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
/***/
NativeDef
create_native(String id,
String name,
String version);
}
| 4,381 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FixedDefHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/FixedDef:1.0
//
final public class FixedDefHolder implements org.omg.CORBA.portable.Streamable
{
public FixedDef value;
public
FixedDefHolder()
{
}
public
FixedDefHolder(FixedDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = FixedDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
FixedDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return FixedDefHelper.type();
}
}
| 4,382 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_OPERATIONHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_OPERATIONHolder implements
org.omg.CORBA.portable.Streamable {
public BAD_OPERATION value;
public BAD_OPERATIONHolder() {
}
public BAD_OPERATIONHolder(BAD_OPERATION initial) {
value = initial;
}
public void _read(org.omg.CORBA.portable.InputStream in) {
value = BAD_OPERATIONHelper.read(in);
}
public void _write(org.omg.CORBA.portable.OutputStream out) {
BAD_OPERATIONHelper.write(out, value);
}
public TypeCode _type() {
return BAD_OPERATIONHelper.type();
}
}
| 4,383 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/EnumDefHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/EnumDef:1.0
//
final public class EnumDefHolder implements org.omg.CORBA.portable.Streamable
{
public EnumDef value;
public
EnumDefHolder()
{
}
public
EnumDefHolder(EnumDef initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = EnumDefHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
EnumDefHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return EnumDefHelper.type();
}
}
| 4,384 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DataOutputStreamHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/DataOutputStream:1.0
//
final public class DataOutputStreamHolder implements org.omg.CORBA.portable.Streamable
{
public DataOutputStream value;
public
DataOutputStreamHolder()
{
}
public
DataOutputStreamHolder(DataOutputStream initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = DataOutputStreamHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
DataOutputStreamHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return DataOutputStreamHelper.type();
}
}
| 4,385 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INVALID_TRANSACTION.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class INVALID_TRANSACTION extends org.omg.CORBA.SystemException {
public INVALID_TRANSACTION() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public INVALID_TRANSACTION(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public INVALID_TRANSACTION(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public INVALID_TRANSACTION(String reason, int minor,
CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,386 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/ValueMemberDefOperations.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueMemberDef:1.0
//
/***/
public interface ValueMemberDefOperations extends ContainedOperations
{
//
// IDL:omg.org/CORBA/ValueMemberDef/type:1.0
//
/***/
org.omg.CORBA.TypeCode
type();
//
// IDL:omg.org/CORBA/ValueMemberDef/type_def:1.0
//
/***/
IDLType
type_def();
void
type_def(IDLType val);
//
// IDL:omg.org/CORBA/ValueMemberDef/access:1.0
//
/***/
short
access();
void
access(short val);
}
| 4,387 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_ValueBoxDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ValueBoxDef:1.0
//
public class _ValueBoxDefStub extends org.omg.CORBA.portable.ObjectImpl
implements ValueBoxDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/ValueBoxDef:1.0",
"IDL:omg.org/CORBA/TypedefDef:1.0",
"IDL:omg.org/CORBA/Contained:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/IDLType:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = ValueBoxDefOperations.class;
//
// IDL:omg.org/CORBA/ValueBoxDef/original_type_def:1.0
//
public IDLType
original_type_def()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_original_type_def", true);
in = _invoke(out);
IDLType _ob_r = IDLTypeHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("original_type_def", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.original_type_def();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
original_type_def(IDLType _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_original_type_def", true);
IDLTypeHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("original_type_def", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
_ob_self.original_type_def(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IDLType/type:1.0
//
public org.omg.CORBA.TypeCode
type()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_type", true);
in = _invoke(out);
org.omg.CORBA.TypeCode _ob_r = in.read_TypeCode();
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("type", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.type();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
ValueBoxDefOperations _ob_self = (ValueBoxDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,388 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/_ModuleDefStub.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/ModuleDef:1.0
//
public class _ModuleDefStub extends org.omg.CORBA.portable.ObjectImpl
implements ModuleDef
{
private static final String[] _ob_ids_ =
{
"IDL:omg.org/CORBA/ModuleDef:1.0",
"IDL:omg.org/CORBA/Container:1.0",
"IDL:omg.org/CORBA/IRObject:1.0",
"IDL:omg.org/CORBA/Contained:1.0"
};
public String[]
_ids()
{
return _ob_ids_;
}
final public static java.lang.Class _ob_opsClass = ModuleDefOperations.class;
//
// IDL:omg.org/CORBA/IRObject/def_kind:1.0
//
public DefinitionKind
def_kind()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_def_kind", true);
in = _invoke(out);
DefinitionKind _ob_r = DefinitionKindHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("def_kind", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.def_kind();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/id:1.0
//
public String
id()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_id", true);
in = _invoke(out);
String _ob_r = RepositoryIdHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.id();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
id(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_id", true);
RepositoryIdHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
_ob_self.id(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/name:1.0
//
public String
name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_name", true);
in = _invoke(out);
String _ob_r = IdentifierHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
name(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_name", true);
IdentifierHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("name", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
_ob_self.name(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/version:1.0
//
public String
version()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_version", true);
in = _invoke(out);
String _ob_r = VersionSpecHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.version();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
public void
version(String _ob_a)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_set_version", true);
VersionSpecHelper.write(out, _ob_a);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("version", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
_ob_self.version(_ob_a);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/defined_in:1.0
//
public Container
defined_in()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_defined_in", true);
in = _invoke(out);
Container _ob_r = ContainerHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("defined_in", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.defined_in();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/absolute_name:1.0
//
public String
absolute_name()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_absolute_name", true);
in = _invoke(out);
String _ob_r = ScopedNameHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("absolute_name", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.absolute_name();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/containing_repository:1.0
//
public Repository
containing_repository()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("_get_containing_repository", true);
in = _invoke(out);
Repository _ob_r = RepositoryHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("containing_repository", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.containing_repository();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup:1.0
//
public Contained
lookup(String _ob_a0)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup", true);
ScopedNameHelper.write(out, _ob_a0);
in = _invoke(out);
Contained _ob_r = ContainedHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup(_ob_a0);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/contents:1.0
//
public Contained[]
contents(DefinitionKind _ob_a0,
boolean _ob_a1)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("contents", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.contents(_ob_a0, _ob_a1);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/lookup_name:1.0
//
public Contained[]
lookup_name(String _ob_a0,
int _ob_a1,
DefinitionKind _ob_a2,
boolean _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("lookup_name", true);
IdentifierHelper.write(out, _ob_a0);
out.write_long(_ob_a1);
DefinitionKindHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
in = _invoke(out);
Contained[] _ob_r = ContainedSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("lookup_name", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.lookup_name(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/describe_contents:1.0
//
public org.omg.CORBA.ContainerPackage.Description[]
describe_contents(DefinitionKind _ob_a0,
boolean _ob_a1,
int _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe_contents", true);
DefinitionKindHelper.write(out, _ob_a0);
out.write_boolean(_ob_a1);
out.write_long(_ob_a2);
in = _invoke(out);
org.omg.CORBA.ContainerPackage.Description[] _ob_r = org.omg.CORBA.ContainerPackage.DescriptionSeqHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe_contents", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.describe_contents(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_module:1.0
//
public ModuleDef
create_module(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_module", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
ModuleDef _ob_r = ModuleDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_module", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_module(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_constant:1.0
//
public ConstantDef
create_constant(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
org.omg.CORBA.Any _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_constant", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
out.write_any(_ob_a4);
in = _invoke(out);
ConstantDef _ob_r = ConstantDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_constant", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_constant(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_struct:1.0
//
public StructDef
create_struct(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_struct", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
StructDef _ob_r = StructDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_struct", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_struct(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_union:1.0
//
public UnionDef
create_union(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3,
UnionMember[] _ob_a4)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_union", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
UnionMemberSeqHelper.write(out, _ob_a4);
in = _invoke(out);
UnionDef _ob_r = UnionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_union", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_union(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_enum:1.0
//
public EnumDef
create_enum(String _ob_a0,
String _ob_a1,
String _ob_a2,
String[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_enum", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
EnumMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
EnumDef _ob_r = EnumDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_enum", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_enum(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_alias:1.0
//
public AliasDef
create_alias(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_alias", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
AliasDef _ob_r = AliasDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_alias", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_alias(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_interface:1.0
//
public InterfaceDef
create_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
InterfaceDef _ob_r = InterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_abstract_interface:1.0
//
public AbstractInterfaceDef
create_abstract_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
AbstractInterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_abstract_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
AbstractInterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
AbstractInterfaceDef _ob_r = AbstractInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_abstract_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_abstract_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_local_interface:1.0
//
public LocalInterfaceDef
create_local_interface(String _ob_a0,
String _ob_a1,
String _ob_a2,
InterfaceDef[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_local_interface", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
InterfaceDefSeqHelper.write(out, _ob_a3);
in = _invoke(out);
LocalInterfaceDef _ob_r = LocalInterfaceDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_local_interface", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_local_interface(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_exception:1.0
//
public ExceptionDef
create_exception(String _ob_a0,
String _ob_a1,
String _ob_a2,
StructMember[] _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_exception", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
StructMemberSeqHelper.write(out, _ob_a3);
in = _invoke(out);
ExceptionDef _ob_r = ExceptionDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_exception", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_exception(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value:1.0
//
public ValueDef
create_value(String _ob_a0,
String _ob_a1,
String _ob_a2,
boolean _ob_a3,
boolean _ob_a4,
ValueDef _ob_a5,
boolean _ob_a6,
ValueDef[] _ob_a7,
InterfaceDef[] _ob_a8,
Initializer[] _ob_a9)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
out.write_boolean(_ob_a3);
out.write_boolean(_ob_a4);
ValueDefHelper.write(out, _ob_a5);
out.write_boolean(_ob_a6);
ValueDefSeqHelper.write(out, _ob_a7);
InterfaceDefSeqHelper.write(out, _ob_a8);
InitializerSeqHelper.write(out, _ob_a9);
in = _invoke(out);
ValueDef _ob_r = ValueDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value(_ob_a0, _ob_a1, _ob_a2, _ob_a3, _ob_a4, _ob_a5, _ob_a6, _ob_a7, _ob_a8, _ob_a9);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_value_box:1.0
//
public ValueBoxDef
create_value_box(String _ob_a0,
String _ob_a1,
String _ob_a2,
IDLType _ob_a3)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_value_box", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
IDLTypeHelper.write(out, _ob_a3);
in = _invoke(out);
ValueBoxDef _ob_r = ValueBoxDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_value_box", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_value_box(_ob_a0, _ob_a1, _ob_a2, _ob_a3);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Container/create_native:1.0
//
public NativeDef
create_native(String _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("create_native", true);
RepositoryIdHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
NativeDef _ob_r = NativeDefHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("create_native", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.create_native(_ob_a0, _ob_a1, _ob_a2);
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/IRObject/destroy:1.0
//
public void
destroy()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("destroy", true);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("destroy", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
_ob_self.destroy();
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/describe:1.0
//
public org.omg.CORBA.ContainedPackage.Description
describe()
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("describe", true);
in = _invoke(out);
org.omg.CORBA.ContainedPackage.Description _ob_r = org.omg.CORBA.ContainedPackage.DescriptionHelper.read(in);
return _ob_r;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("describe", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
return _ob_self.describe();
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
//
// IDL:omg.org/CORBA/Contained/move:1.0
//
public void
move(Container _ob_a0,
String _ob_a1,
String _ob_a2)
{
while(true)
{
if(!this._is_local())
{
org.omg.CORBA.portable.OutputStream out = null;
org.omg.CORBA.portable.InputStream in = null;
try
{
out = _request("move", true);
ContainerHelper.write(out, _ob_a0);
IdentifierHelper.write(out, _ob_a1);
VersionSpecHelper.write(out, _ob_a2);
in = _invoke(out);
return;
}
catch(org.omg.CORBA.portable.RemarshalException _ob_ex)
{
continue;
}
catch(org.omg.CORBA.portable.ApplicationException _ob_aex)
{
final String _ob_id = _ob_aex.getId();
in = _ob_aex.getInputStream();
throw new org.omg.CORBA.UNKNOWN("Unexpected User Exception: " + _ob_id);
}
finally
{
_releaseReply(in);
}
}
else
{
org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("move", _ob_opsClass);
if(_ob_so == null)
continue;
ModuleDefOperations _ob_self = (ModuleDefOperations)_ob_so.servant;
try
{
_ob_self.move(_ob_a0, _ob_a1, _ob_a2);
return;
}
finally
{
_servant_postinvoke(_ob_so);
}
}
}
}
}
| 4,389 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/FloatSeqHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/FloatSeq:1.0
//
public abstract class FloatSeqHelper
{
public static void
insert(org.omg.CORBA.Any any, float[] val)
{
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static float[]
extract(org.omg.CORBA.Any any)
{
if(any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new org.omg.CORBA.BAD_OPERATION();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
typeCode_ = orb.create_alias_tc(id(), "FloatSeq", orb.create_sequence_tc(0, orb.get_primitive_tc(org.omg.CORBA.TCKind.tk_float)));
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/FloatSeq:1.0";
}
public static float[]
read(org.omg.CORBA.portable.InputStream in)
{
float[] _ob_v;
int len0 = in.read_ulong();
_ob_v = new float[len0];
in.read_float_array(_ob_v, 0, len0);
return _ob_v;
}
public static void
write(org.omg.CORBA.portable.OutputStream out, float[] val)
{
int len0 = val.length;
out.write_ulong(len0);
out.write_float_array(val, 0, len0);
}
}
| 4,390 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/INTERNAL.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class INTERNAL extends org.omg.CORBA.SystemException {
public INTERNAL() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public INTERNAL(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public INTERNAL(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public INTERNAL(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,391 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/DataOutputStream.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/DataOutputStream:1.0
//
/***/
public interface DataOutputStream extends org.omg.CORBA.portable.ValueBase
{
//
// IDL:omg.org/CORBA/DataOutputStream/write_any:1.0
//
/***/
void
write_any(org.omg.CORBA.Any value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_boolean:1.0
//
/***/
void
write_boolean(boolean value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_char:1.0
//
/***/
void
write_char(char value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_wchar:1.0
//
/***/
void
write_wchar(char value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_octet:1.0
//
/***/
void
write_octet(byte value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_short:1.0
//
/***/
void
write_short(short value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_ushort:1.0
//
/***/
void
write_ushort(short value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_long:1.0
//
/***/
void
write_long(int value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_ulong:1.0
//
/***/
void
write_ulong(int value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_longlong:1.0
//
/***/
void
write_longlong(long value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_ulonglong:1.0
//
/***/
void
write_ulonglong(long value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_float:1.0
//
/***/
void
write_float(float value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_double:1.0
//
/***/
void
write_double(double value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_string:1.0
//
/***/
void
write_string(String value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_wstring:1.0
//
/***/
void
write_wstring(String value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_Object:1.0
//
/***/
void
write_Object(org.omg.CORBA.Object value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_Abstract:1.0
//
/***/
void
write_Abstract(java.lang.Object value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_Value:1.0
//
/***/
void
write_Value(java.io.Serializable value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_TypeCode:1.0
//
/***/
void
write_TypeCode(org.omg.CORBA.TypeCode value);
//
// IDL:omg.org/CORBA/DataOutputStream/write_any_array:1.0
//
/***/
void
write_any_array(org.omg.CORBA.Any[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_boolean_array:1.0
//
/***/
void
write_boolean_array(boolean[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_char_array:1.0
//
/***/
void
write_char_array(char[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_wchar_array:1.0
//
/***/
void
write_wchar_array(char[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_octet_array:1.0
//
/***/
void
write_octet_array(byte[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_short_array:1.0
//
/***/
void
write_short_array(short[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_ushort_array:1.0
//
/***/
void
write_ushort_array(short[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_long_array:1.0
//
/***/
void
write_long_array(int[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_ulong_array:1.0
//
/***/
void
write_ulong_array(int[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_ulonglong_array:1.0
//
/***/
void
write_ulonglong_array(long[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_longlong_array:1.0
//
/***/
void
write_longlong_array(long[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_float_array:1.0
//
/***/
void
write_float_array(float[] seq,
int offset,
int length);
//
// IDL:omg.org/CORBA/DataOutputStream/write_double_array:1.0
//
/***/
void
write_double_array(double[] seq,
int offset,
int length);
}
| 4,392 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/PollableHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/Pollable:1.0
//
final public class PollableHelper
{
public static void
insert(org.omg.CORBA.Any any, Pollable val)
{
any.insert_Value(val, type());
}
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();
}
private static org.omg.CORBA.TypeCode typeCode_;
public static org.omg.CORBA.TypeCode
type()
{
if(typeCode_ == null)
{
org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
org.omg.CORBA.ValueMember[] members = new org.omg.CORBA.ValueMember[0];
typeCode_ = orb.create_value_tc(id(), "Pollable", org.omg.CORBA.VM_ABSTRACT.value, null, members);
}
return typeCode_;
}
public static String
id()
{
return "IDL:omg.org/CORBA/Pollable:1.0";
}
public static Pollable
read(org.omg.CORBA.portable.InputStream in)
{
if(!(in instanceof org.omg.CORBA_2_3.portable.InputStream))
throw new org.omg.CORBA.BAD_PARAM();
return (Pollable)((org.omg.CORBA_2_3.portable.InputStream)in).read_value(id());
}
public static void
write(org.omg.CORBA.portable.OutputStream out, Pollable val)
{
if(!(out instanceof org.omg.CORBA_2_3.portable.OutputStream))
throw new org.omg.CORBA.BAD_PARAM();
((org.omg.CORBA_2_3.portable.OutputStream)out).write_value(val, id());
}
}
| 4,393 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/SetOverrideTypeHolder.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/SetOverrideType:1.0
//
final public class SetOverrideTypeHolder implements org.omg.CORBA.portable.Streamable
{
public SetOverrideType value;
public
SetOverrideTypeHolder()
{
}
public
SetOverrideTypeHolder(SetOverrideType initial)
{
value = initial;
}
public void
_read(org.omg.CORBA.portable.InputStream in)
{
value = SetOverrideTypeHelper.read(in);
}
public void
_write(org.omg.CORBA.portable.OutputStream out)
{
SetOverrideTypeHelper.write(out, value);
}
public org.omg.CORBA.TypeCode
_type()
{
return SetOverrideTypeHelper.type();
}
}
| 4,394 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/CODESET_INCOMPATIBLE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class CODESET_INCOMPATIBLE extends org.omg.CORBA.SystemException {
public CODESET_INCOMPATIBLE() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public CODESET_INCOMPATIBLE(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public CODESET_INCOMPATIBLE(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public CODESET_INCOMPATIBLE(String reason, int minor,
CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,395 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NO_RESPONSE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class NO_RESPONSE extends org.omg.CORBA.SystemException {
public NO_RESPONSE() {
super("", 0, CompletionStatus.COMPLETED_NO);
}
public NO_RESPONSE(int minor, CompletionStatus completed) {
super("", minor, completed);
}
public NO_RESPONSE(String reason) {
super(reason, 0, CompletionStatus.COMPLETED_NO);
}
public NO_RESPONSE(String reason, int minor, CompletionStatus completed) {
super(reason, minor, completed);
}
}
| 4,396 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/NVList.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
public abstract class NVList {
public abstract int count();
public abstract NamedValue add(int flags);
public abstract NamedValue add_item(String item_name, int flags);
public abstract NamedValue add_value(String item_name, Any val, int flags);
public abstract NamedValue item(int index) throws org.omg.CORBA.Bounds;
public abstract void remove(int index) throws org.omg.CORBA.Bounds;
}
| 4,397 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_POLICY_VALUE.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
//
// IDL:omg.org/CORBA/BAD_POLICY_VALUE:1.0
//
/***/
public interface BAD_POLICY_VALUE
{
short value = (short)(3L);
}
| 4,398 |
0 | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg | Create_ds/geronimo-yoko/yoko-spec-corba/src/main/java/org/omg/CORBA/BAD_TYPECODEHelper.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.omg.CORBA;
final public class BAD_TYPECODEHelper {
public static void insert(Any any, BAD_TYPECODE val) {
org.omg.CORBA.portable.OutputStream out = any.create_output_stream();
write(out, val);
any.read_value(out.create_input_stream(), type());
}
public static BAD_TYPECODE extract(Any any) {
if (any.type().equivalent(type()))
return read(any.create_input_stream());
else
throw new BAD_OPERATION();
}
private static TypeCode typeCode_;
public static TypeCode type() {
if (typeCode_ == null) {
ORB orb = ORB.init();
StructMember[] members = new StructMember[2];
members[0] = new StructMember();
members[0].name = "minor";
members[0].type = orb.get_primitive_tc(TCKind.tk_ulong);
members[1] = new StructMember();
members[1].name = "completed";
members[1].type = CompletionStatusHelper.type();
typeCode_ = orb.create_exception_tc(id(), "BAD_TYPECODE", members);
}
return typeCode_;
}
public static String id() {
return "IDL:omg.org/CORBA/BAD_TYPECODE:1.0";
}
public static BAD_TYPECODE read(org.omg.CORBA.portable.InputStream in) {
if (!id().equals(in.read_string()))
throw new MARSHAL();
BAD_TYPECODE val = new BAD_TYPECODE();
val.minor = in.read_ulong();
val.completed = CompletionStatus.from_int(in.read_ulong());
return val;
}
public static void write(org.omg.CORBA.portable.OutputStream out,
BAD_TYPECODE val) {
out.write_string(id());
out.write_ulong(val.minor);
out.write_ulong(val.completed.value());
}
}
| 4,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.