KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > corba > PrincipalImpl


1 /*
2  * @(#)PrincipalImpl.java 1.16 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 /*
8  * Licensed Materials - Property of IBM
9  * RMI-IIOP v1.0
10  * Copyright IBM Corp. 1998 1999 All Rights Reserved
11  *
12  * US Government Users Restricted Rights - Use, duplication or
13  * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
14  */

15
16 package com.sun.corba.se.impl.corba;
17
18
19 public class PrincipalImpl extends org.omg.CORBA.Principal JavaDoc
20 {
21     private byte[] value;
22
23     public void name(byte[] value)
24     {
25     this.value = value;
26     }
27
28     public byte[] name()
29     {
30     return value;
31     }
32 }
33
Popular Tags